/* ═══════════════════════════════════════════════════════════════════════════
   Cisgenics Identity — Login UI
   Font: Exo (loaded from Google Fonts in _Layout.cshtml)
   ═══════════════════════════════════════════════════════════════════════════ */

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

/* ── Base font size = 14px (matches FE globalStyles: * { fontSize: '14px' }) ─ */
html {
    font-size: 14px;
    margin: 0;
    padding: 0;
}

/* ── Body / page background ──────────────────────────────────────────────── */
body, main {
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Exo', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1rem;          /* = 14px */
    font-weight: 300;         /* matches FE fontWeightRegular: 300 */
    background-color: #002031;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── <main> is the true centering container (matches AuthLayout in the FE) ── */
main {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.25rem;
    box-sizing: border-box;
}

/* page-wrap is a transparent pass-through div; centering is done by <main> */
.page-wrap {
    display: contents;
}

/* ── Card (content box, no visible background — just constrains width) ───── */
.card {
    width: 100%;
    max-width: 312px;
}

/* ── Logo ────────────────────────────────────────────────────────────────── */
.logo {
    display: block;
    text-align: center;
    font-size: 2.5rem;
    line-height: 1;
    letter-spacing: -0.03em;
    text-decoration: none;
    -webkit-user-select: none;
    user-select: none;
    margin-bottom: 0.45rem;
}

.logo-cis {
    font-weight: 600;
    color: #ffffff;
}

.logo-genics {
    font-weight: 300;
    color: #ffffff;
}

/* ── Card subtitle ("Login") ─────────────────────────────────────────────── */
.card-subtitle {
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    color: #fff;
    opacity: 0.5;
    letter-spacing: 0.02em;
    line-height: 115%;
    margin-bottom: 45px;
}

/* ── Error banner ────────────────────────────────────────────────────────── */
.error-banner {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fca5a5;
    border-radius: 7px;
    padding: 0.55rem 0.9rem;
    font-size: 0.83rem;
    text-align: center;
    margin-bottom: 1rem;
}

/* ── Field wrapper ───────────────────────────────────────────────────────── */
.field-wrap {
    margin-bottom: 8px;
}
.field-wrap + .field-wrap { margin-bottom: 12px; }

/* ── Text / email / password inputs ─────────────────────────────────────── */
.field {
    width: 100%;
    height: 40px;
    padding: 0 16px;
    background: #ffffff;
    border: 1px solid #F1F1F1;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;          /* = 14px */
    font-weight: 300;
    color: #000;
    outline: none;
    transition: none;
}

.field::placeholder {
    color: #757575;
    font-weight: 300;
    opacity: 1;
}

.field:focus {
    border-color: #F1F1F1;
    box-shadow: none;
}

.field-wrap.has-error .field {
    border-color: #ef4444;
    background: #fff2f2;
}

.field-msg {
    display: block;
    font-size: 0.76rem;
    color: #fca5a5;
    min-height: 1rem;
    margin-top: 0.2rem;
    padding-left: 2px;
}

/* ── Password field with eye toggle ─────────────────────────────────────── */
.pw-field {
    position: relative;
    display: flex;
    align-items: center;
}

.pw-field .field {
    padding-right: 44px;
}

.eye-btn {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    line-height: 0;
    cursor: pointer;
    color: #757575;
    transition: color 0.15s;
}

.eye-btn:hover { color: #555; }

/* ── Actions row (Forgot Password — Login button) ────────────────────────── */
.actions-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0;
    margin-bottom: 0;
}

.link-forgot {
    font-size: 0.857rem;  /* = 12px at 14px base — matches MUI body1 */
    font-weight: 300;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.15s;
}

.link-forgot:hover { opacity: 0.75; }

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 35px;
    width: 101px;
    padding: 0;
    background: #004744;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;          /* = 14px */
    font-weight: 500;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    letter-spacing: 0.02em;
    transition: background 0.15s, transform 0.1s;
    white-space: nowrap;
}

.btn-primary:hover  { background: #00605c; }
.btn-primary:active { transform: scale(0.97); }

/* ── Language switcher ───────────────────────────────────────────────────── */
/* Left-aligned inside the 312px card, matches FE textAlign:'left' + marginTop:'16px' */
.lang-wrap {
    position: relative;
    display: block;
    margin-top: 16px;
}

.lang-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px 5px 10px;
    background: #ffffff;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    color: #000;
    font-family: inherit;
    font-size: 0.857rem;      /* = 12px */
    font-weight: 300;
    transition: background 0.15s;
}

.lang-pill:hover { background: #f5f5f5; }

.lang-flag {
    font-size: 1rem;
    line-height: 1;
}

.lang-label {
    color: #000;
}

.lang-chevron {
    display: flex;
    align-items: center;
    color: #555;
    margin-left: 1px;
}


.lang-drop {
    display: none;
    position: absolute;
    bottom: calc(100% + 8px);
    left: 0;
    min-width: 170px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    z-index: 100;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.lang-drop.open { display: block; }

.lang-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 11px 16px;
    background: transparent;
    border: none;
    color: #181818;
    font-family: inherit;
    font-size: 1rem;          /* = 14px */
    font-weight: 300;
    cursor: pointer;
    text-align: left;
    transition: background 0.12s;
}
.lang-item + .lang-item { border-top: 1px solid #f1f1f1; }
.lang-item:hover  { background: #f5f5f5; }
.lang-item.active { background: #ebf1f0; color: #004744; font-weight: 600; }

/* ── Forgot-password / misc pages ────────────────────────────────────────── */
.card-form-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #d0e8f2;
    margin-bottom: 1.4rem;
    text-align: center;
}

.success-banner {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
    border-radius: 7px;
    padding: 0.55rem 0.9rem;
    font-size: 0.83rem;
    text-align: center;
    margin-bottom: 1rem;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 22px;
    background: transparent;
    color: #7d9eb8;
    font-family: inherit;
    font-size: 0.86rem;
    font-weight: 400;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 7px;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s;
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.38);
    color: #aecad9;
}


/* ═══════════════════════════════════════════════════════════════════════════
   ADMIN PANEL — Client Management UI
   Layout: sidebar (240px) + main content
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Admin root: full-viewport flex row ──────────────────────────────────── */
body.admin-body {
    overflow: hidden;
}
body.admin-body main {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
    height: 100vh;
    overflow: hidden;
}

/* ── Sidebar ─────────────────────────────────────────────────────────────── */
.adm-sidebar {
    width: 232px;
    min-width: 232px;
    background: #001629;
    border-right: 1px solid rgba(255,255,255,0.06);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 0;
    flex-shrink: 0;
}

.adm-sidebar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 22px 20px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    text-decoration: none;
    line-height: 0;
}

.adm-sidebar-logo svg {
    flex-shrink: 0;
}

.adm-sidebar-badge {
    display: inline-block;
    background: #004744;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 2px 7px;
    border-radius: 3px;
    text-transform: uppercase;
    line-height: 16px;
    white-space: nowrap;
}

.adm-nav {
    flex: 1;
    padding: 12px 8px;
    overflow-y: auto;
}

.adm-nav-section {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
    padding: 10px 12px 6px;
    margin-top: 4px;
}

.adm-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 5px;
    color: rgba(255,255,255,0.62);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 400;
    transition: background 0.12s, color 0.12s;
    cursor: pointer;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    line-height: 1.4;
    margin-bottom: 1px;
}
.adm-nav-link svg { flex-shrink: 0; opacity: 0.7; }
.adm-nav-link:hover { background: rgba(255,255,255,0.06); color: #fff; }
.adm-nav-link:hover svg { opacity: 1; }
.adm-nav-link.active { background: rgba(0,71,68,0.35); color: #4ecdc4; }
.adm-nav-link.active svg { opacity: 1; color: #4ecdc4; }

.adm-sidebar-bottom {
    padding: 12px 8px 18px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

/* ── Main content wrapper ────────────────────────────────────────────────── */
.adm-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

/* ── Top bar ─────────────────────────────────────────────────────────────── */
.adm-topbar {
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: #002031;
    flex-shrink: 0;
    gap: 16px;
}

.adm-topbar-title {
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
}

.adm-topbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.adm-user-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.65);
    font-size: 12.5px;
}

.adm-user-pill svg { opacity: 0.6; }

/* ── Content scroll area ─────────────────────────────────────────────────── */
.adm-content {
    flex: 1;
    overflow-y: auto;
    padding: 28px 28px 40px;
    background: #002031;
}

/* ── Page header row ─────────────────────────────────────────────────────── */
.adm-page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    gap: 12px;
}

.adm-page-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
}

.adm-page-subtitle {
    font-size: 12.5px;
    color: rgba(255,255,255,0.4);
    margin-top: 2px;
}

.adm-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    text-decoration: none;
    margin-bottom: 18px;
    transition: color 0.12s;
}
.adm-back-link:hover { color: rgba(255,255,255,0.85); }

/* ── Card ────────────────────────────────────────────────────────────────── */
.adm-card {
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    overflow: hidden;
}

.adm-card + .adm-card { margin-top: 18px; }

.adm-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    gap: 12px;
}

.adm-card-title {
    font-size: 13.5px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.01em;
}

.adm-card-body {
    padding: 20px 22px;
}

/* ── Table ───────────────────────────────────────────────────────────────── */
.adm-table-wrap {
    overflow-x: auto;
}

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

.adm-table thead tr {
    background: rgba(255,255,255,0.04);
}

.adm-table th {
    text-align: left;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.38);
    padding: 11px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    white-space: nowrap;
}

.adm-table td {
    padding: 13px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.82);
    vertical-align: middle;
}

.adm-table tbody tr:last-child td { border-bottom: none; }
.adm-table tbody tr:hover td { background: rgba(255,255,255,0.025); }

.adm-table .mono {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 12px;
    color: #7dd3fc;
}

/* ── Badges ──────────────────────────────────────────────────────────────── */
.adm-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 9px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.02em;
    white-space: nowrap;
    line-height: 18px;
}

.adm-badge-public    { background: rgba(34,197,94,0.15);  color: #86efac; border: 1px solid rgba(34,197,94,0.25); }
.adm-badge-conf      { background: rgba(245,158,11,0.15); color: #fcd34d; border: 1px solid rgba(245,158,11,0.25); }
.adm-badge-active    { background: rgba(34,197,94,0.12);  color: #86efac; border: 1px solid rgba(34,197,94,0.2); }
.adm-badge-revoked   { background: rgba(239,68,68,0.12);  color: #fca5a5; border: 1px solid rgba(239,68,68,0.2); }
.adm-badge-redeemed  { background: rgba(148,163,184,0.1); color: rgba(148,163,184,0.7); border: 1px solid rgba(148,163,184,0.15); }

/* ── Action buttons ──────────────────────────────────────────────────────── */
.adm-actions { display: inline-flex; align-items: center; gap: 4px; }

.adm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 30px;
    padding: 0 12px;
    border-radius: 4px;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 400;
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: none;
    transition: background 0.12s, border-color 0.12s, transform 0.08s;
    white-space: nowrap;
    line-height: 1;
}
.adm-btn:active { transform: scale(0.96); }

.adm-btn-primary  { background: #004744; color: #fff; border-color: #004744; }
.adm-btn-primary:hover  { background: #005f5b; border-color: #005f5b; }

.adm-btn-edit   { background: rgba(14,165,233,0.12); color: #7dd3fc; border-color: rgba(14,165,233,0.2); }
.adm-btn-edit:hover { background: rgba(14,165,233,0.22); }

.adm-btn-tokens { background: rgba(139,92,246,0.12); color: #c4b5fd; border-color: rgba(139,92,246,0.2); }
.adm-btn-tokens:hover { background: rgba(139,92,246,0.22); }

.adm-btn-reset  { background: rgba(245,158,11,0.12); color: #fcd34d; border-color: rgba(245,158,11,0.2); }
.adm-btn-reset:hover { background: rgba(245,158,11,0.22); }

.adm-btn-danger { background: rgba(239,68,68,0.12); color: #fca5a5; border-color: rgba(239,68,68,0.2); }
.adm-btn-danger:hover { background: rgba(239,68,68,0.22); }

.adm-btn-ghost  { background: transparent; color: rgba(255,255,255,0.55); border-color: rgba(255,255,255,0.12); }
.adm-btn-ghost:hover { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.85); }

.adm-btn-lg {
    height: 36px;
    padding: 0 18px;
    font-size: 13.5px;
}

/* ── Form fields ─────────────────────────────────────────────────────────── */
.adm-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
}

.adm-form-grid.cols-1 { grid-template-columns: 1fr; }
.adm-form-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; }

.adm-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.adm-field-group.span-2 { grid-column: span 2; }
.adm-field-group.span-3 { grid-column: span 3; }

.adm-label {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.02em;
}

.adm-label .adm-required {
    color: #f87171;
    margin-left: 2px;
}

.adm-input,
.adm-textarea,
.adm-select {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 5px;
    color: #fff;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 300;
    outline: none;
    transition: border-color 0.12s, background 0.12s;
}

.adm-input:focus,
.adm-textarea:focus,
.adm-select:focus {
    border-color: #004744;
    background: rgba(255,255,255,0.09);
    box-shadow: 0 0 0 2px rgba(0,71,68,0.3);
}

.adm-input:disabled,
.adm-textarea:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.adm-input { height: 38px; padding: 0 12px; width: 100%; }

.adm-textarea {
    width: 100%;
    padding: 10px 12px;
    resize: vertical;
    min-height: 90px;
    line-height: 1.6;
}

.adm-select {
    height: 38px;
    padding: 0 12px;
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

.adm-select option { background: #001629; color: #fff; }

.adm-input::placeholder,
.adm-textarea::placeholder { color: rgba(255,255,255,0.25); }

.adm-hint {
    font-size: 11.5px;
    color: rgba(255,255,255,0.35);
    line-height: 1.4;
}

.adm-field-error {
    font-size: 11.5px;
    color: #f87171;
}

/* ── Checkboxes (permissions / scopes) ───────────────────────────────────── */
.adm-check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px 16px;
    padding: 4px 0;
}

.adm-check-item {
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
    padding: 7px 10px;
    border-radius: 5px;
    border: 1px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.025);
    transition: background 0.1s, border-color 0.1s;
    user-select: none;
}

.adm-check-item:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); }
.adm-check-item:has(.adm-checkbox:checked) { background: rgba(0,71,68,0.2); border-color: rgba(0,71,68,0.45); }

.adm-checkbox {
    width: 15px;
    height: 15px;
    accent-color: #004744;
    cursor: pointer;
    flex-shrink: 0;
}

.adm-check-label { font-size: 13px; color: rgba(255,255,255,0.75); line-height: 1.3; }
.adm-check-desc  { font-size: 11px; color: rgba(255,255,255,0.35); display: block; margin-top: 1px; }

/* ── Divider ─────────────────────────────────────────────────────────────── */
.adm-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.07);
    margin: 22px 0;
}

/* ── Alert/info boxes ────────────────────────────────────────────────────── */
.adm-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 18px;
}

.adm-alert-info    { background: rgba(14,165,233,0.10); border: 1px solid rgba(14,165,233,0.2); color: #7dd3fc; }
.adm-alert-warning { background: rgba(245,158,11,0.10); border: 1px solid rgba(245,158,11,0.2); color: #fcd34d; }
.adm-alert-danger  { background: rgba(239,68,68,0.10);  border: 1px solid rgba(239,68,68,0.2);  color: #fca5a5; }
.adm-alert-success { background: rgba(34,197,94,0.10);  border: 1px solid rgba(34,197,94,0.2);  color: #86efac; }
.adm-alert svg { flex-shrink: 0; margin-top: 1px; }

/* ── Secret reveal box ───────────────────────────────────────────────────── */
.adm-secret-box {
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    padding: 14px 16px;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 13px;
    color: #86efac;
    word-break: break-all;
    letter-spacing: 0.02em;
    margin: 12px 0;
    position: relative;
}

.adm-copy-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    color: rgba(255,255,255,0.55);
    cursor: pointer;
    padding: 3px 7px;
    font-size: 11px;
    font-family: inherit;
    transition: background 0.12s;
}
.adm-copy-btn:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* ── Empty state ─────────────────────────────────────────────────────────── */
.adm-empty {
    text-align: center;
    padding: 52px 24px;
    color: rgba(255,255,255,0.3);
}
.adm-empty svg { margin-bottom: 14px; opacity: 0.25; }
.adm-empty-title { font-size: 15px; font-weight: 500; color: rgba(255,255,255,0.45); margin-bottom: 6px; }
.adm-empty-desc  { font-size: 13px; }

/* ── Modal confirm overlay ───────────────────────────────────────────────── */
.adm-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}
.adm-overlay.open { display: flex; }

.adm-modal {
    background: #0c2233;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    padding: 28px 28px 22px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.adm-modal-icon { margin-bottom: 14px; }
.adm-modal-title { font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 8px; }
.adm-modal-body  { font-size: 13.5px; color: rgba(255,255,255,0.6); line-height: 1.5; margin-bottom: 22px; }
.adm-modal-body strong { color: rgba(255,255,255,0.85); }
.adm-modal-actions { display: flex; gap: 10px; justify-content: flex-end; }

/* ── Tag list (URIs etc.) ────────────────────────────────────────────────── */
.adm-tag-list { display: flex; flex-wrap: wrap; gap: 5px; }
.adm-tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.09);
    color: rgba(255,255,255,0.65);
    font-size: 11.5px;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── Stats row ───────────────────────────────────────────────────────────── */
.adm-stats { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.adm-stat-card {
    flex: 1;
    min-width: 120px;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 7px;
    padding: 14px 18px;
}
.adm-stat-label { font-size: 11px; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 4px; }
.adm-stat-value { font-size: 22px; font-weight: 600; color: #fff; line-height: 1.2; }
.adm-stat-sub   { font-size: 11.5px; color: rgba(255,255,255,0.3); margin-top: 2px; }
/* stat card with icon */
.adm-stat-card.has-icon { display: flex; align-items: center; gap: 14px; }
.adm-stat-icon { width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.adm-stat-body { display: flex; flex-direction: column; }
