/* ─── ReSwaps Design System ──────────────────────────────────────────────────── */
:root {
    --primary:        #00B14F;
    --primary-hover:  #009641;
    --primary-dark:   #006850;
    --primary-light:  #e8f9ef;

    --success:        #16a34a;
    --success-bg:     #f0fdf4;
    --success-border: #bbf7d0;
    --success-text:   #166534;

    --danger:         #dc2626;
    --danger-bg:      #fef2f2;
    --danger-border:  #fecaca;
    --danger-text:    #991b1b;

    --warning:        #f59e0b;
    --warning-bg:     #fffbeb;
    --warning-border: #fde68a;
    --warning-text:   #92400e;

    --text:           #1a1a1a;
    --text-secondary: #555555;
    --text-muted:     #888888;
    --border:         #e8e8e8;
    --border-hover:   #cccccc;
    --bg:             #ffffff;
    --bg-secondary:   #f7f8fa;
    --bg-hover:       #f2f3f5;
    --radius-sm:  2px;
    --radius:     4px;
    --radius-lg:  6px;
    --radius-pill: 6px;
    --shadow-xs:   0 1px 3px rgba(0,0,0,0.07);
    --shadow-sm:   0 2px 8px rgba(0,0,0,0.08);
    --shadow:      0 4px 16px rgba(0,0,0,0.09);
    --shadow-hover: 0 8px 28px rgba(0,0,0,0.13);
    --font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
    overflow-x: hidden;
    max-width: 100%;
    background: #fff;
}

body {
    font-family: var(--font);
    color: var(--text);
    background: #fff;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 500;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    max-width: 100vw;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text);
}

a { color: var(--text); text-decoration: none; }
a:hover { color: var(--primary); }

/* ─── Layout ─────────────────────────────────────────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main { padding: 28px 0; }

/* ─── Navbar ─────────────────────────────────────────────────────────────── */
.navbar {
    background: var(--bg);
    box-shadow: 0 1px 0 var(--border), 0 2px 8px rgba(0,0,0,0.04);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 24px;
    height: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.navbar-logo {
    flex-shrink: 0;
    text-decoration: none;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
}

.navbar-link {
    padding: 7px 12px;
    font-size: 14px;
    color: var(--text-secondary);
    border-radius: var(--radius-pill);
    transition: background 0.15s, color 0.15s;
    font-weight: 500;
}

.navbar-link:hover { background: var(--bg-hover); color: var(--text); }
.navbar-link.active { background: var(--primary-light); color: var(--primary); font-weight: 600; }

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.navbar-credit {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-light);
    border-radius: var(--radius-pill);
    padding: 6px 14px;
}

.navbar-bell {
    position: relative;
    padding: 8px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    transition: background 0.15s, border-color 0.15s;
}

.navbar-bell:hover { background: var(--bg-hover); border-color: var(--border-hover); color: var(--text); }

.badge-dot {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    border: 2px solid #fff;
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-pill);
    border: 1.5px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s, transform 0.1s, box-shadow 0.15s;
    font-family: var(--font);
    white-space: nowrap;
    line-height: 1;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(0,177,79,0.25);
}
.btn-primary:hover { background: var(--primary-hover); color: #fff; border-color: var(--primary-hover); box-shadow: 0 4px 12px rgba(0,177,79,0.35); }

.btn-outline {
    background: #fff;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary-light); color: var(--primary); }

.btn-ghost {
    background: var(--bg-hover);
    color: var(--text-secondary);
    border-color: transparent;
}
.btn-ghost:hover { background: var(--border); color: var(--text); }

.btn-danger {
    background: #fff;
    color: #dc2626;
    border-color: #fecaca;
}
.btn-danger:hover { background: #fef2f2; }

.btn-sm { padding: 6px 14px; font-size: 12px; }
.btn-lg { padding: 12px 28px; font-size: 15px; }
.btn-full { width: 100%; }

.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ─── Cards ──────────────────────────────────────────────────────────────── */
.card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    overflow: hidden;
}

.card-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    background: var(--bg);
}

.card-body { padding: 20px; }
.card-footer {
    padding: 14px 20px;
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
}

/* ─── Forms ──────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }

.form-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 11px 14px;
    font-size: 14px;
    font-family: var(--font);
    font-weight: 500;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
    color: var(--text);
    transition: border-color 0.15s, box-shadow 0.15s;
    outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,177,79,0.1);
}

.form-textarea { resize: vertical; min-height: 100px; }
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 5px; }

/* ─── Listing Cards ──────────────────────────────────────────────────────── */
.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.listing-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xs);
}

.listing-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
    border-color: transparent;
}

.listing-card-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    background: var(--bg-secondary);
}

.listing-card-img-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.listing-card-body { padding: 14px 16px; flex: 1; }
.listing-card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.listing-card-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.listing-card-footer {
    padding: 10px 16px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-secondary);
}

.listing-value {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
}

/* ─── Badge ──────────────────────────────────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.badge-protected {
    background: var(--success-bg);
    color: var(--success-text);
    border: 1px solid var(--success-border);
}

.badge-unprotected {
    background: var(--bg-secondary);
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.badge-condition {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.badge-status-active    { background: var(--success-bg);   color: var(--success-text); border: 1px solid var(--success-border); }
.badge-status-in_swap   { background: var(--warning-bg);   color: var(--warning-text); border: 1px solid var(--warning-border); }
.badge-status-completed { background: var(--bg-secondary); color: var(--text-muted);   border: 1px solid var(--border); }
.badge-status-cancelled { background: var(--danger-bg);    color: var(--danger-text);  border: 1px solid var(--danger-border); }

.badge-swap-progress { background: var(--warning-bg);   color: var(--warning-text); border: 1px solid var(--warning-border); }
.badge-swap-disputed { background: var(--danger-bg);    color: var(--danger-text);  border: 1px solid var(--danger-border); }
.badge-swap-done     { background: var(--success-bg);   color: var(--success-text); border: 1px solid var(--success-border); }

/* ─── Stat Cards ─────────────────────────────────────────────────────────── */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}

.stat-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 22px;
    box-shadow: var(--shadow-xs);
    transition: box-shadow 0.15s;
}

.stat-card:hover { box-shadow: var(--shadow-sm); }

.stat-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1;
    color: var(--text);
}

.stat-sub { font-size: 12px; color: var(--text-muted); margin-top: 5px; }

/* ─── Page Header ────────────────────────────────────────────────────────── */
.page-header {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.page-title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--text);
}

.page-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.5;
}

/* ─── Swap Flow Steps ────────────────────────────────────────────────────── */
.swap-steps {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 28px;
    overflow-x: auto;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    box-shadow: var(--shadow-xs);
}

.swap-step {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.swap-step-num {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--bg);
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swap-step.done .swap-step-num {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.swap-step.current .swap-step-num {
    border: 2.5px solid var(--primary);
    color: var(--primary);
    font-weight: 700;
}

.swap-step-label { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.swap-step.current .swap-step-label { color: var(--primary); font-weight: 700; }
.swap-step.done .swap-step-label { color: var(--text-secondary); }

.swap-step-divider {
    flex: 1;
    min-width: 20px;
    max-width: 48px;
    height: 2px;
    background: var(--border);
    margin: 0 4px;
    border-radius: 2px;
}

.swap-step.done + .swap-step-divider { background: var(--primary); }

/* Mobile: circle on top, label below each step */
.swap-step-mobile-hint { display: none; }
@media (max-width: 600px) {
    .swap-steps {
        padding: 12px 8px;
        align-items: flex-start;
        overflow-x: auto;
    }
    .swap-step {
        flex-direction: column;
        align-items: center;
        gap: 5px;
        min-width: 48px;
    }
    .swap-step-label {
        font-size: 9px;
        text-align: center;
        line-height: 1.3;
        white-space: normal;
        max-width: 54px;
        display: block;
    }
    .swap-step-num { width: 26px; height: 26px; font-size: 11px; }
    .swap-step-divider {
        min-width: 6px;
        max-width: 20px;
        flex: 1;
        margin-top: 13px;
    }
}

/* ─── Alert / Flash ──────────────────────────────────────────────────────── */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 12px;
    border: 1.5px solid var(--border);
    background: var(--bg);
    color: var(--text);
    box-shadow: var(--shadow-xs);
    transition: opacity 0.4s ease;
}

.alert-success { background: var(--success-bg);   color: var(--success-text); border-color: var(--success-border); }
.alert-error   { background: var(--danger-bg);    color: var(--danger-text);  border-color: var(--danger-border); }
.alert-warning { background: var(--warning-bg);   color: var(--warning-text); border-color: var(--warning-border); }
.alert-info    { background: var(--bg-secondary); color: var(--text-secondary); border-color: var(--border); }

/* ─── Photo Upload ───────────────────────────────────────────────────────── */
.photo-drop-zone {
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    text-align: center;
    color: var(--text-muted);
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    background: var(--bg-secondary);
}

.photo-drop-zone:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary);
}

.photo-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.photo-preview-item {
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1.5px solid var(--border);
    position: relative;
}

.photo-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ─── Pagination ─────────────────────────────────────────────────────────── */
.pagination {
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: center;
    margin-top: 32px;
}

.page-btn {
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 600;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-pill);
    color: var(--text-secondary);
    background: var(--bg);
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.page-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.page-btn.active { border-color: var(--primary); color: #fff; background: var(--primary); }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ─── Table ──────────────────────────────────────────────────────────────── */
.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

thead th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 700;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    background: var(--bg-secondary);
    white-space: nowrap;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
    color: var(--text);
}

tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--bg-secondary); }

/* ─── Filter Bar ─────────────────────────────────────────────────────────── */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding: 14px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
}

.filter-bar label { font-size: 12px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }

.filter-bar .form-select {
    padding: 6px 10px;
    font-size: 13px;
    width: auto;
    border-radius: var(--radius-pill);
}

/* ─── Empty State ────────────────────────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: 56px 24px;
    color: var(--text-muted);
}

.empty-state-icon { margin-bottom: 16px; display: flex; justify-content: center; }
.empty-state-title { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.empty-state-text { font-size: 14px; margin-bottom: 24px; color: var(--text-muted); }

/* ─── Banner Bleed (full-width on mobile, contained on desktop) ─────────── */
@media (min-width: 601px) {
    .banner-slide { height: 380px !important; }
}
.banner-bleed {
    position: relative;
    overflow: hidden;
    user-select: none;
    width: calc(100% - 48px);
    max-width: 1152px;
    margin: -28px auto 24px;
    border-radius: 8px;
}
@media (max-width: 600px) {
    .banner-bleed {
        width: 100%;
        max-width: 100%;
        margin: -28px 0 24px;
        border-radius: 0;
    }
}

/* ─── Info Blocks ────────────────────────────────────────────────────────── */
.info-block {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 500;
    border: 1px solid;
    margin-bottom: 20px;
}
.info-block-neutral {
    background: var(--bg-secondary);
    border-color: var(--border);
    color: var(--text-secondary);
}
.info-block-warning {
    background: var(--warning-bg);
    border-color: var(--warning-border);
    color: var(--warning-text);
}
.info-block-success {
    background: var(--success-bg);
    border-color: var(--success-border);
    color: var(--success-text);
}
.info-block-danger {
    background: var(--danger-bg);
    border-color: var(--danger-border);
    color: var(--danger-text);
}

/* ─── Credit Badge ───────────────────────────────────────────────────────── */
.credit-display {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.02em;
    box-shadow: 0 2px 8px rgba(0,177,79,0.3);
}

/* ─── Swap Detail ────────────────────────────────────────────────────────── */
.swap-grid {
    display: grid;
    grid-template-columns: 1fr 48px 1fr;
    gap: 16px;
    align-items: start;
}

.swap-divider-center {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 60px;
    font-size: 22px;
    color: var(--primary);
}

.swap-party-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-xs);
}

.swap-party-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 12px;
}

/* ─── Section Divider ────────────────────────────────────────────────────── */
.section-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 14px;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 22px 24px;
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: auto;
}

.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text-muted); font-weight: 500; }
.footer-links a:hover { color: var(--primary); }

/* ─── Listing Detail Grid ────────────────────────────────────────────────── */
.listing-detail-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
}
.listing-detail-main { order: 1; }
.listing-detail-side { order: 2; }

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .page-wrapper { min-height: unset; }
    .container { padding: 0 16px; }
    .listings-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .swap-grid { grid-template-columns: 1fr; }
    .swap-divider-center { padding-top: 0; transform: rotate(90deg); }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .navbar-links { display: none; }
    .page-header { flex-direction: column; align-items: flex-start; }
    .listing-detail-grid { grid-template-columns: 1fr; }
    .listing-detail-main { order: 1; }
    .listing-detail-side { order: 2; }
    .navbar-inner { height: 64px; gap: 8px; padding: 0 12px; }
    .navbar-actions { gap: 4px; }

    /* Prevent iOS Safari auto-zoom on input focus (requires font-size >= 16px) */
    .form-input, .form-select, .form-textarea, input, select, textarea {
        font-size: 16px !important;
    }
}

@media (max-width: 480px) {
    .listings-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    main { padding: 16px 0; }
    .btn { padding: 8px 16px; font-size: 13px; }
}

/* ── Chat page: full-screen mobile ───────────────────────── */
@media (max-width: 768px) {
    body.chat-page { overflow: hidden; }
    body.chat-page .navbar { display: none; }
    body.chat-page main { padding: 0; }
    body.chat-page .chat-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    body.chat-page .chat-main {
        position: fixed;
        inset: 0;
        height: 100dvh;
        z-index: 200;
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
    }
    body.chat-page .chat-box {
        height: 100dvh !important;
        border-radius: 0 !important;
    }
    body.chat-page .chat-sidebar {
        display: none;
    }
    body.chat-page .chat-sidebar.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        inset: 0;
        z-index: 300;
        overflow-y: auto;
        background: #fff;
        padding: 16px;
        gap: 16px;
    }
}

