/**
 * File Path: assets/css/admin/appearance/appearance-accordion.css
 * F-002: Layout customization accordion + mini preview widget
 * Component of mbs-admin-settings-appearance.css — extracted Session 100.
 * Enqueued by MBS_Tab_Appearance with dep: mbs-admin-settings-appearance.
 */

/* ============================================================================
   F-002 — Layout Customization accordion + mini preview widget
   ============================================================================ */

/* Accordion toggle button ─────────────────────────────────────────────────── */

.mbs-layout-customization-wrap {
    padding: 0;
    overflow: hidden;
}

.mbs-accordion-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 14px 16px;
    background: none;
    border: none;
    border-bottom: 1px solid #dcdcde;
    font-size: 14px;
    font-weight: 600;
    color: #2c3338;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s;
}

.mbs-accordion-toggle:hover {
    background: #f6f7f7;
}

.mbs-accordion-toggle:focus-visible {
    outline: 2px solid var(--mbs-status-info);
    outline-offset: -2px;
}

.mbs-accordion-icon {
    color: #646970;
    font-style: normal;
    font-size: 12px;
    transition: transform 0.15s;
}

.mbs-accordion-body {
    padding: 16px 16px 20px;
}

.mbs-accordion-body[hidden] {
    display: none;
}

/* Form table within accordion ────────────────────────────────────────────── */

.mbs-accordion-body .form-table {
    margin-top: 0;
}

.mbs-accordion-body .form-table th {
    padding: 8px 10px 8px 0;
    width: 200px;
    vertical-align: middle;
}

.mbs-accordion-body .form-table td {
    padding: 8px 0;
}

/* Mini layout preview widget ─────────────────────────────────────────────── */

.mbs-layout-preview-wrap {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #dcdcde;
}

.mbs-layout-preview-label {
    margin: 0 0 10px 0;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #646970;
}

.mbs-layout-preview-grid {
    display: grid;
    grid-template-columns: repeat(var(--mbs-columns, 3), minmax(0, 1fr));
    gap: var(--mbs-layout-gap, 1.5rem);
}

.mbs-layout-preview-card {
    height: 80px;
    background: #e8eaed;
    border: 1px solid #c3c4c7;
    border-radius: var(--mbs-card-radius, 8px);
    transition: border-radius 0.2s, gap 0.2s;
}
