/**
 * Plugin Builder — library list and edit-screen metabox (read-only MVP).
 */

.lolacore-pb-action {
    cursor: pointer;
}

.lolacore-bb-action {
    cursor: pointer;
}

.lolacore-pb-action-disabled {
    color: #a7aaad;
    cursor: not-allowed;
}

.lolacore-bb-action-disabled {
    color: #a7aaad;
    cursor: not-allowed;
}

.lolacore-pb-edit {
    margin-top: 4px;
}

.lolacore-pb-notice {
    margin: 0 0 12px;
    font-size: 13px;
    color: #646970;
}

.lolacore-pb-notice-warning {
    padding: 8px 12px;
    border-left: 3px solid var(--lc-amber, #d4a843);
    background: #fdf5e2;
    color: #9a7723;
}

.lolacore-pb-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px 16px;
    margin-bottom: 16px;
}

.lolacore-pb-meta-item-wide {
    grid-column: 1 / -1;
}

.lolacore-pb-meta-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #646970;
    margin-bottom: 4px;
}

.lolacore-pb-meta-value {
    font-size: 13px;
    color: #1d2327;
}

.lolacore-pb-confidence-note {
    font-size: 13px;
    margin: 0 0 12px;
}

.lolacore-pb-readonly {
    width: 100%;
    font-size: 13px;
    line-height: 1.5;
    resize: vertical;
}

.lolacore-pb-suggestions {
    margin: 4px 0 0 18px;
    font-size: 13px;
}

.lolacore-pb-tabs {
    display: flex;
    gap: 4px;
    margin: 16px 0 8px;
    border-bottom: 1px solid #dcdcde;
}

.lolacore-pb-tab {
    margin: 0;
    padding: 8px 14px;
    border: 1px solid transparent;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    background: #f6f7f7;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    color: #50575e;
}

.lolacore-pb-tab.is-active {
    background: #fff;
    border-color: #dcdcde;
    color: #1d2327;
    margin-bottom: -1px;
}

.lolacore-pb-tab-panel.hidden {
    display: none;
}

/* Install / activate modals (library screen) */
.lc-pb-modal-header--success {
    background: #e8f8f0;
    border-bottom-color: rgba(0, 163, 42, 0.25);
}

.lc-pb-modal-header--success h3 {
    color: var(--lc-mint-dark, #007a3d);
}

.lc-pb-modal-header--error {
    background: #fdf0f0;
    border-bottom-color: rgba(232, 144, 144, 0.35);
}

.lc-pb-modal-header--error h3 {
    color: var(--lc-salmon, #e89090);
}

.lolacore-pb-code {
    width: 100%;
    min-height: 320px;
    font-family: var(--lc-font-mono, Consolas, Monaco, monospace);
    font-size: 12px;
    line-height: 1.45;
    tab-size: 4;
    white-space: pre;
    overflow: auto;
    background: #f6f7f7;
    border: 1px solid #dcdcde;
    border-radius: 4px;
    padding: 12px;
    box-sizing: border-box;
}
