/* ══════════════════════════════════════════════════════════
   eNadawca API — Admin Panel CSS
   Mobile-first: default = ~360px
   Breakpoints: 640px (tablet), 768px (tablet-l), 1024px (desktop)
   ══════════════════════════════════════════════════════════ */

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

:root {
    --bg:        #0f1117;
    --surface:   #1a1d27;
    --surface2:  #1e2235;
    --border:    #2d3148;
    --border2:   #3d4460;
    --text:      #e2e8f0;
    --text-muted:#94a3b8;
    --text-dim:  #64748b;
    --blue:      #3b82f6;
    --blue-dark: #1d4ed8;
    --green:     #22c55e;
    --green-bg:  #052e16;
    --amber:     #f59e0b;
    --amber-bg:  #451a03;
    --red:       #f87171;
    --red-bg:    #2c1520;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ── HEADER ──────────────────────────────────────────────── */
.header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 .875rem;
    height: 56px;
    display: flex;
    align-items: center;
    gap: .75rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: .5rem;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: .9rem;
}

.logo-icon {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #b45309, #d97706);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    flex-shrink: 0;
}

.logo-api  { color: var(--text-dim); font-weight: 400; }
.header-sep { color: var(--border2); margin: 0 .15rem; }

.logo-admin {
    background: var(--amber-bg);
    border: 1px solid #78350f;
    color: var(--amber);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 5px;
}

.header-spacer { flex: 1; }

.header-user {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .82rem;
}

/* Username chip: hidden on mobile */
.user-chip { display: none; }

.btn-logout {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-dim);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: .8rem;
    cursor: pointer;
    text-decoration: none;
    transition: border-color .15s, color .15s;
    font-family: inherit;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
}

.btn-logout:hover { border-color: var(--red); color: var(--red); }

/* ── MAIN CONTENT ─────────────────────────────────────────── */
.main {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 1rem .875rem;
    flex: 1;
}

/* ── PAGE HEADER ──────────────────────────────────────────── */
.page-header {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .875rem;
}

.page-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
}

.page-subtitle {
    font-size: .8rem;
    color: var(--text-dim);
    margin-top: 2px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .82rem;
    color: var(--text-dim);
    text-decoration: none;
    transition: color .15s;
    margin-bottom: .875rem;
    min-height: 44px;
}

.back-link:hover { color: var(--text-muted); }

/* ── CARDS ────────────────────────────────────────────────── */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.125rem;
    margin-bottom: 1rem;
}

.card--success-border { border-color: #16534244; }
.card--blue-border    { border-color: #1d4ed844; }

.card-title {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-dim);
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: .6rem;
    border-bottom: 1px solid var(--border);
}

.card-title--green { color: var(--green); }

.card-subtitle {
    font-size: .82rem;
    color: var(--text-dim);
    margin: -.25rem 0 1rem;
}

/* ── STATUS BADGES ────────────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 999px;
}

.badge::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
}

.badge-pending  { background: var(--amber-bg); border: 1px solid #78350f55; color: var(--amber); }
.badge-approved { background: var(--green-bg); border: 1px solid #16653444; color: var(--green); }
.badge-rejected { background: var(--red-bg);   border: 1px solid #7f1d1d44; color: var(--red); }

.badge-pending::before  { background: var(--amber); box-shadow: 0 0 4px var(--amber); }
.badge-approved::before { background: var(--green); }
.badge-rejected::before { background: var(--red); }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: .6rem 1.1rem;
    border-radius: 7px;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: none;
    transition: all .15s;
    font-family: inherit;
    min-height: 44px;
}

.btn-sm     { padding: .5rem .875rem; font-size: .78rem; min-height: 40px; }
.btn-block-w { width: 100%; justify-content: center; }

.btn-primary { background: var(--blue-dark); border-color: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue); box-shadow: 0 4px 14px rgba(59,130,246,.3); }

.btn-success { background: #14532d; border-color: #16a34a44; color: var(--green); }
.btn-success:hover { background: #166534; border-color: var(--green); }

.btn-danger  { background: var(--red-bg); border-color: #7f1d1d44; color: var(--red); }
.btn-danger:hover { background: #3b1a1a; border-color: var(--red); }

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

/* Edit ghost button (in page-header) */
.btn-edit-ghost {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .4rem .9rem;
    border-radius: 8px;
    border: 1px solid #334155;
    color: #94a3b8;
    text-decoration: none;
    font-size: .8rem;
    font-weight: 600;
    background: transparent;
    transition: background .15s, color .15s;
    min-height: 36px;
}

.btn-edit-ghost:hover { background: #1e293b; color: #e2e8f0; }

/* Account action buttons */
.btn-action {
    padding: .5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: .82rem;
    font-weight: 600;
    border: none;
    font-family: inherit;
    min-height: 40px;
    transition: opacity .15s;
}

.btn-action:hover { opacity: .85; }

.btn-action-resend  { background: #1e3a5f; border: 1px solid #2563eb; color: #93c5fd; }
.btn-action-block   { background: #2d0a0a; border: 1px solid #7f1d1d; color: #f87171; }
.btn-action-unblock { background: #052e16; border: 1px solid #166534; color: #4ade80; }

/* Scope toggle buttons */
.btn-scope-toggle {
    background: transparent;
    border: 1px solid #334155;
    color: #64748b;
    padding: .35rem .75rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: .78rem;
    font-family: inherit;
    transition: border-color .15s, color .15s;
    min-height: 32px;
}

.btn-scope-toggle:hover { border-color: #475569; color: #94a3b8; }

/* Form cancel button */
.btn-cancel {
    flex: 1;
    text-align: center;
    padding: .7rem;
    border-radius: 10px;
    border: 1px solid #334155;
    color: #64748b;
    text-decoration: none;
    font-size: .9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    transition: border-color .15s, color .15s;
}

.btn-cancel:hover { border-color: var(--border2); color: var(--text-muted); }

/* Form save button */
.btn-save {
    flex: 2;
    padding: .7rem 1.5rem;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: #fff;
    font-size: .9rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(37,99,235,.4);
    font-family: inherit;
    min-height: 44px;
    transition: opacity .15s;
}

.btn-save:hover { opacity: .9; }

/* ── TABLE ────────────────────────────────────────────────── */
.table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: .875rem;
    min-width: 540px;
}

thead th {
    text-align: left;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-dim);
    padding: .75rem 1rem;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

tbody tr { border-bottom: 1px solid var(--border); transition: background .1s; }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--surface2); }
tbody tr.row-blocked { background: rgba(239, 68, 68, .08); }

tbody td {
    padding: 1rem;
    color: var(--text-muted);
    vertical-align: middle;
}

tbody td.td-main { color: var(--text); font-weight: 500; }

/* ── FILTERS ──────────────────────────────────────────────── */
.filters {
    display: flex;
    gap: .375rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: .5rem .8rem;
    border-radius: 7px;
    font-size: .8rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid var(--border);
    color: var(--text-dim);
    background: var(--surface2);
    transition: all .15s;
    min-height: 40px;
}

.filter-tab:hover  { border-color: var(--border2); color: var(--text-muted); }
.filter-tab.active { background: var(--blue-dark); border-color: var(--blue); color: #fff; }
.filter-tab--blocked { color: #f87171; }
.filter-tab--blocked.active { background: #7f1d1d; border-color: #f87171; }

.filter-tab .count {
    background: rgba(255,255,255,.12);
    padding: 1px 6px;
    border-radius: 999px;
    font-size: .68rem;
}

.count--blocked { background: #7f1d1d; color: #fca5a5; }

.lock-icon { margin-right: .35rem; }

.required-star  { color: var(--red); }
.textarea--tall { min-height: 100px; }
.btn--mt        { margin-top: .75rem; }

/* ── LOGIN PAGE ───────────────────────────────────────────── */
.login-wrap {
    max-width: 420px;
    margin: 3rem auto;
    padding: 0 .5rem;
}

@media (min-width: 640px) {
    .login-wrap { margin: 4rem auto; padding: 0; }
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #b45309, #d97706);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto .75rem;
}

.login-title    { font-size: 1.25rem; font-weight: 700; color: #f8fafc; }
.login-subtitle { font-size: .82rem; color: #64748b; margin-top: .25rem; }

.login-hint {
    font-size: .75rem;
    color: #64748b;
    text-align: center;
    margin-bottom: 1.5rem;
}

.btn-submit-login {
    width: 100%;
    justify-content: center;
    padding: .75rem 1.2rem;
    font-size: .95rem;
    margin-top: .5rem;
}

.login-back { text-align: center; margin-top: 1.25rem; }

.login-back-link {
    font-size: .78rem;
    color: #475569;
    text-decoration: none;
    transition: color .15s;
}

.login-back-link:hover { color: #64748b; }

/* ── TABLE UTILITIES ──────────────────────────────────────── */
.card--no-pad { padding: 0; }
.td-sub       { font-size: .78rem; color: var(--text-dim); }
.td-nowrap    { white-space: nowrap; }

/* ── SEARCH ───────────────────────────────────────────────── */
.search-form {
    display: flex;
    align-items: center;
    gap: .5rem;
    width: 100%;
}

.search-input {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    padding: .5rem .9rem;
    font-size: 1rem; /* 16px — prevents iOS auto-zoom */
    width: 100%;
    outline: none;
    transition: border-color .15s;
    min-height: 40px;
    font-family: inherit;
}

.search-input:focus { border-color: var(--blue); }

.search-clear {
    color: var(--text-dim);
    font-size: .82rem;
    text-decoration: none;
    white-space: nowrap;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    transition: color .15s;
}

.search-clear:hover { color: var(--text-muted); }

/* ── FORM ─────────────────────────────────────────────────── */
.form-group       { margin-bottom: 1rem; }
.form-group--last { margin-bottom: 0; }

.form-group label {
    display: block;
    font-size: .78rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: .35rem;
}

.form-control {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 7px;
    padding: .7rem .9rem;
    font-size: 1rem; /* 16px — prevents iOS auto-zoom */
    color: var(--text);
    font-family: inherit;
    outline: none;
    transition: border-color .15s;
}

.form-control:focus { border-color: var(--blue); }
textarea.form-control { resize: vertical; min-height: 80px; }
.form-control--disabled { opacity: .5; cursor: not-allowed; }

.checkbox-row { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; }
.checkbox-row input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--blue); flex-shrink: 0; }
.checkbox-row label { font-size: .85rem; color: var(--text-muted); font-weight: 400; margin: 0; cursor: pointer; }

/* ── FORM LAYOUTS ─────────────────────────────────────────── */
/* 2-col form grid (edit page): 1-col mobile, 2-col tablet+ */
.form-edit-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: start;
}

/* Single flexible column inside form-edit-grid */
.form-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-actions {
    display: flex;
    gap: .75rem;
}

.form-save-note {
    font-size: .75rem;
    color: var(--text-dim);
    margin: .75rem 0 0;
    text-align: center;
}

/* ── SCOPES ───────────────────────────────────────────────── */
.scope-list { display: flex; flex-direction: column; gap: .75rem; }

.scope-row {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .875rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: transparent;
    cursor: pointer;
    transition: background .15s, border-color .15s;
}

.scope-row--active {
    background: #0f1e3a;
    border-color: #1d4ed844;
}

.scope-row input[type="checkbox"] {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    accent-color: #3b82f6;
    flex-shrink: 0;
}

.scope-row-name {
    font-size: .85rem;
    font-weight: 600;
    font-family: monospace;
    color: var(--text-muted);
}

.scope-row--active .scope-row-name { color: #93c5fd; }

.scope-row-desc {
    font-size: .78rem;
    color: var(--text-dim);
    margin-top: 2px;
}

.scope-check-controls {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

/* ── FLASH / ALERT ────────────────────────────────────────── */
.flash {
    padding: .875rem 1rem;
    border-radius: 8px;
    font-size: .85rem;
    margin-bottom: 1.25rem;
}

.flash-success { background: var(--green-bg); border: 1px solid #16653444; color: var(--green); }
.flash-error   { background: var(--red-bg);   border: 1px solid #7f1d1d44; color: var(--red); }
.flash-warning { background: #2d1a0a;          border: 1px solid #92400e44; color: #fbbf24; }

/* ── DETAIL GRID ──────────────────────────────────────────── */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.detail-row       { margin-bottom: .75rem; }
.detail-row--mt   { margin-top: 1rem; }
.detail-row--mt-lg { margin-top: 1.25rem; }

.detail-label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-dim);
    margin-bottom: 2px;
}

.detail-value      { font-size: .875rem; color: var(--text); word-break: break-word; }
.detail-value.mono { font-family: 'Courier New', Courier, monospace; font-size: .8rem; color: #93c5fd; }
.detail-value--sm  { font-size: .78rem; }

.detail-notes {
    background: var(--surface2);
    padding: .75rem;
    border-radius: 6px;
}

.detail-header-actions {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}

.account-actions-buttons {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    padding: 0;
}

/* ── ACTION PANEL ─────────────────────────────────────────── */
.action-panel {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.125rem;
    margin-top: 1rem;
    display: none;
}

.action-panel.visible { display: block; }

.action-panel-title {
    font-size: .85rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

/* ── PAGINATION ───────────────────────────────────────────── */
.pagination {
    display: flex;
    align-items: center;
    gap: .375rem;
    margin-top: 1rem;
    font-size: .82rem;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    padding: .45rem .75rem;
    border-radius: 6px;
    text-decoration: none;
    border: 1px solid var(--border);
    color: var(--text-dim);
    background: var(--surface2);
    min-height: 40px;
    display: inline-flex;
    align-items: center;
}

.pagination a:hover { border-color: var(--blue); color: var(--blue); }
.pagination .current { background: var(--blue-dark); border-color: var(--blue); color: #fff; }
.pagination .disabled   { opacity: .4; pointer-events: none; }
.pagination--padded     { padding: 1rem 1.5rem; }

/* ── EMPTY STATE ──────────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: 2.5rem 1rem;
    color: var(--text-dim);
}

.empty-state-icon { font-size: 2.5rem; margin-bottom: .75rem; }
.empty-state-text { font-size: .9rem; }

/* ── MODAL ────────────────────────────────────────────────── */
.confirm-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.65);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.confirm-modal.is-open { display: flex; }

.modal-box {
    background: #1a1d27;
    border: 1px solid #2d3148;
    border-radius: 20px;
    padding: 2rem 1.25rem 1.75rem;
    width: 92%;
    max-width: 500px;
    box-shadow: 0 32px 80px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.04);
}

.modal-icon  { font-size: 3rem; text-align: center; margin-bottom: .75rem; line-height: 1; }
.modal-title { color: #f8fafc; margin: 0 0 .6rem; text-align: center; font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
.modal-body  { color: #64748b; text-align: center; font-size: .875rem; line-height: 1.65; margin: 0 0 1.75rem; }

.modal-actions { display: flex; gap: .625rem; }

.modal-btn-cancel {
    flex: 0 0 auto;
    padding: .65rem 1.25rem;
    border-radius: 10px;
    border: 1px solid #334155;
    background: transparent;
    color: #64748b;
    font-size: .875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
    font-family: inherit;
}

.modal-btn-cancel:hover { background: #1e293b; color: #94a3b8; border-color: #475569; }

.modal-btn-confirm {
    flex: 1;
    padding: .7rem 1.5rem;
    border-radius: 10px;
    border: none;
    font-size: .9rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: .01em;
    transition: opacity .15s, transform .1s;
    font-family: inherit;
}

.modal-btn-confirm:hover  { opacity: .88; transform: translateY(-1px); }
.modal-btn-confirm:active { transform: translateY(0); opacity: 1; }

.modal-btn-confirm--resend  { background: linear-gradient(135deg,#1d4ed8,#2563eb); color:#fff; box-shadow:0 4px 14px rgba(37,99,235,.4); }
.modal-btn-confirm--block   { background: linear-gradient(135deg,#991b1b,#b91c1c); color:#fecaca; box-shadow:0 4px 14px rgba(185,28,28,.4); }
.modal-btn-confirm--unblock { background: linear-gradient(135deg,#14532d,#15803d); color:#bbf7d0; box-shadow:0 4px 14px rgba(21,128,61,.4); }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE OVERRIDES — tablet (640px+)
   ══════════════════════════════════════════════════════════ */
@media (min-width: 640px) {
    .header-inner { padding: 0 1.5rem; gap: 1rem; }
    .logo  { gap: .6rem; font-size: .95rem; }
    .logo-icon { width: 32px; height: 32px; font-size: .9rem; }

    .user-chip {
        display: inline-block;
        background: var(--surface2);
        border: 1px solid var(--border);
        color: var(--text-muted);
        padding: 4px 10px;
        border-radius: 6px;
        font-size: .8rem;
        max-width: 160px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .main { padding: 1.5rem 1.25rem; }

    .page-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .page-title { font-size: 1.25rem; }
    .back-link  { margin-bottom: 1rem; }

    .card { padding: 1.5rem; margin-bottom: 1.25rem; }
    .filters { gap: .5rem; margin-bottom: 1.25rem; }
    .filter-tab { padding: .45rem .9rem; font-size: .82rem; }

    .search-form  { width: auto; }
    .search-input { font-size: .875rem; width: 280px; }

    .form-control { font-size: .875rem; }

    .action-panel { padding: 1.25rem; }
    .pagination { gap: .5rem; margin-top: 1.25rem; }
    .empty-state { padding: 3rem 1rem; }
    .modal-box { padding: 2.25rem 2.5rem 2rem; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE OVERRIDES — tablet-l (768px+)
   ══════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
    .form-edit-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
    .form-col { gap: 1.25rem; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE OVERRIDES — desktop (1024px+)
   ══════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
    .main { padding: 2rem 1.5rem; }
    .detail-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
}
