/* * Oscar Admin - standalone styles. * * Loaded alongside the bundled shared base stylesheet (assets/style.css, * configurable via shared_style_path) by admin_page(). Keep this file * self-contained for admin-specific layout/components. * * Sections: tokens/base, layout/nav, components, forms/buttons, tables, * detail/BART/feedbag helpers, auth, toasts, animations, responsive. */ :root { --bg: #0b1020; --bg-soft: #121a2f; --panel: rgba(18, 26, 47, 0.72); --panel-solid: #141d35; --panel-2: #1b2742; --text: #e8eefc; --muted: #93a4c4; --accent: #6ea8ff; --accent-2: #8b7bff; --ok: #4fd18b; --warn: #ffcc66; --danger: #ff6b6b; --line: rgba(148, 163, 184, 0.16); --line-strong: rgba(148, 163, 184, 0.28); --shadow: 0 20px 60px rgba(0, 0, 0, 0.35); --radius: 16px; --radius-sm: 10px; --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color-scheme: dark; } * { box-sizing: border-box; } html, body { margin: 0; padding: 0; min-height: 100%; } body.admin-body { font-family: var(--font); color: var(--text); background: radial-gradient(1200px 600px at 10% -10%, rgba(110,168,255,.18), transparent 60%), radial-gradient(900px 500px at 100% 0%, rgba(139,123,255,.14), transparent 55%), linear-gradient(180deg, #090e1a 0%, #0b1020 100%); overflow-x: hidden; } a { color: var(--accent); } code { font-family: var(--mono); font-size: .92em; background: rgba(255,255,255,.06); padding: .15em .4em; border-radius: 4px; } .bg-orb { position: fixed; border-radius: 50%; filter: blur(60px); pointer-events: none; z-index: 0; opacity: .55; } .orb-a { width: 420px; height: 420px; top: -120px; left: -80px; background: rgba(110,168,255,.22); animation: float 14s ease-in-out infinite, hueDrift 20s ease-in-out infinite; } .orb-b { width: 360px; height: 360px; top: 20%; right: -100px; background: rgba(139,123,255,.18); animation: float 18s ease-in-out infinite reverse, hueDrift 24s ease-in-out infinite reverse; } .bg-grid { position: fixed; inset: 0; pointer-events: none; z-index: 0; background-image: linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black, transparent); animation: gridPan 30s linear infinite; } .bg-grid::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(110,168,255,.04) 50%, transparent 70%); background-size: 200% 200%; animation: shimmerBg 12s ease-in-out infinite; } .admin-topbar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .65rem 1.25rem; background: rgba(11, 16, 32, 0.72); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); } .admin-brand { display: flex; align-items: center; gap: .85rem; } .brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(135deg, rgba(110,168,255,.25), rgba(139,123,255,.2)); border: 1px solid rgba(110,168,255,.3); color: var(--accent); box-shadow: 0 0 0 4px rgba(110,168,255,.06); } .brand-mark svg { width: 22px; height: 22px; } .brand-title { font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; } .brand-sub { font-size: .78rem; color: var(--muted); } .admin-nav { display: flex; align-items: center; gap: .75rem; } .admin-nav a { color: var(--muted); text-decoration: none; padding: .5rem .75rem; border-radius: 8px; font-size: .9rem; } .admin-nav a:hover, .admin-nav a.active { color: var(--text); background: rgba(255,255,255,.05); } .nav-user { color: var(--muted); font-size: .85rem; padding: .35rem .65rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.03); max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .user-menu { position: relative; } .user-menu-trigger { display: inline-flex; align-items: center; gap: .35rem; cursor: pointer; font: inherit; color: var(--muted); font-size: .85rem; padding: .35rem .65rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.03); max-width: 220px; } .user-menu-trigger:hover { color: var(--text); border-color: var(--line-strong); background: rgba(255,255,255,.05); } .user-menu-trigger span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .user-menu-dropdown { position: absolute; top: calc(100% + .5rem); right: 0; width: min(340px, calc(100vw - 2rem)); background: linear-gradient(180deg, rgba(24,35,61,.98), rgba(16,24,43,.98)); border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.45); padding: .75rem; z-index: 200; } .user-menu-dropdown[hidden] { display: none !important; } .user-menu-head { padding: .25rem .25rem .6rem; border-bottom: 1px solid var(--line); margin-bottom: .6rem; } .user-menu-name { font-weight: 650; font-size: .95rem; } .user-menu-section { padding: .25rem 0; } .user-menu-section + .user-menu-section { border-top: 1px solid var(--line); margin-top: .6rem; padding-top: .75rem; } .user-menu-section-title { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; margin-bottom: .5rem; display: flex; align-items: center; gap: .25rem; } .user-menu-actions .btn-block { width: 100%; } .inline-form { margin: 0; } .admin-main { position: relative; z-index: 1; width: min(1400px, calc(100% - 2rem)); margin: 0 auto; padding: 1rem 0 2rem; } /* Buttons */ .btn { appearance: none; border: 1px solid var(--line-strong); background: rgba(255,255,255,.04); color: var(--text); padding: .65rem 1rem; border-radius: 10px; font: inherit; font-size: .9rem; font-weight: 550; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; text-decoration: none; transition: transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; } .btn:hover { background: rgba(255,255,255,.08); border-color: rgba(148,163,184,.4); transform: translateY(-1px); } .btn:active { transform: translateY(0); } .btn:disabled { opacity: .55; cursor: not-allowed; transform: none; } .btn svg { width: 16px; height: 16px; } .btn-primary { position: relative; overflow: hidden; background: linear-gradient(135deg, rgba(110,168,255,.95), rgba(139,123,255,.95)); border-color: transparent; color: #08101f; font-weight: 650; box-shadow: 0 8px 24px rgba(110,168,255,.25); } .btn-primary::after { content: ''; position: absolute; top: 0; left: 0; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); transform: translateX(-120%) skewX(-15deg); } .btn-primary:hover { filter: brightness(1.06); box-shadow: 0 10px 30px rgba(110,168,255,.32); } .btn-primary:hover::after { animation: sheen .7s ease; } .btn-danger { background: rgba(255,107,107,.12); border-color: rgba(255,107,107,.35); color: #ffb3b3; } .btn-danger:hover { background: rgba(255,107,107,.18); } .btn-ghost { background: transparent; } .btn-small { padding: .4rem .7rem; font-size: .82rem; border-radius: 8px; } .btn-block { width: 100%; } /* Hero */ .hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin: .5rem 0 1rem; } .eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .2rem; } .hero h1 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.1; letter-spacing: -.03em; } .hero p { margin: .35rem 0 0; max-width: 60ch; font-size: .92rem; } .hero-actions { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; } .muted { color: var(--muted); } .status-chip { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .8rem; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid var(--line); font-size: .82rem; color: var(--muted); } .status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 0 4px rgba(255,204,102,.12); } .status-chip.ok .status-dot { background: var(--ok); box-shadow: 0 0 0 4px rgba(79,209,139,.12); } .status-chip.bad .status-dot { background: var(--danger); box-shadow: 0 0 0 4px rgba(255,107,107,.12); } /* Stats */ .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin-bottom: 1rem; } .stat-card { display: flex; gap: .75rem; align-items: flex-start; padding: .85rem 1rem; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; backdrop-filter: blur(10px); box-shadow: var(--shadow); transition: transform .2s ease, border-color .2s ease; } .stat-card:hover { transform: translateY(-3px); border-color: rgba(110,168,255,.25); box-shadow: 0 20px 60px rgba(0,0,0,.35), 0 0 24px rgba(110,168,255,.08); } .stat-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(110,168,255,.16), rgba(139,123,255,.12)); color: var(--accent); flex-shrink: 0; } .stat-icon svg { width: 20px; height: 20px; } .stat-label { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; } .stat-value { font-size: 1.45rem; font-weight: 700; line-height: 1.2; margin: .1rem 0; letter-spacing: -.02em; } .stat-sub { font-size: .75rem; } /* Panels / tabs */ .panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); backdrop-filter: blur(10px); box-shadow: var(--shadow); overflow: hidden; } .tab-bar { display: flex; gap: .2rem; padding: .5rem .75rem; border-bottom: 1px solid var(--line); overflow-x: auto; background: rgba(0,0,0,.08); } .tab { appearance: none; background: transparent; border: 0; color: var(--muted); font: inherit; font-size: .85rem; font-weight: 550; padding: .5rem .75rem; border-radius: 8px; cursor: pointer; white-space: nowrap; transition: all .2s ease; position: relative; } .tab:hover { color: var(--text); background: rgba(255,255,255,.04); } .tab.active { color: var(--text); background: rgba(110,168,255,.12); } .tab.active::after { content: ''; position: absolute; left: 1rem; right: 1rem; bottom: .35rem; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); } .tab-panels { padding: .85rem 1rem; } .tab-panel { display: none; } .tab-panel.active { display: block; animation: fadeIn .25s ease; } .panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; margin-bottom: .75rem; } .panel-head h2, .panel-head h3 { margin: 0; font-size: 1.05rem; letter-spacing: -.01em; } .panel-head p { margin: .15rem 0 0; font-size: .84rem; } .subhead { font-size: .88rem; margin: 0 0 .5rem; color: var(--muted); font-weight: 600; } /* Cards/forms */ .card.subcard { background: rgba(255,255,255,.02); border: 1px solid var(--line); border-radius: 10px; padding: .75rem; } .subcard h3 { margin: 0 0 .6rem; font-size: .92rem; } .split-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-bottom: .75rem; } .room-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; } .stack-form { display: flex; flex-direction: column; gap: .65rem; } .stack-form.compact { gap: .5rem; } .field { display: flex; flex-direction: column; gap: .25rem; } .field span, .field label { font-size: .82rem; color: var(--muted); font-weight: 550; } .field input, .field textarea, .field select, .input { width: 100%; padding: .5rem .65rem; border-radius: 8px; border: 1px solid var(--line-strong); background: rgba(0,0,0,.18); color: var(--text); font: inherit; font-size: .88rem; transition: border-color .2s ease, box-shadow .2s ease; } .field input:focus, .field textarea:focus, .field select:focus, .input:focus { outline: none; border-color: rgba(110,168,255,.55); box-shadow: 0 0 0 4px rgba(110,168,255,.12); } .field textarea { resize: vertical; min-height: 70px; } .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; } .check { display: flex; gap: .55rem; align-items: flex-start; font-size: .88rem; color: var(--muted); } .check input { margin-top: .2rem; accent-color: var(--accent); } .table-tools { margin-bottom: .5rem; } .table-tools .input { max-width: 320px; } .users-toolbar { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; } .users-toolbar .input { max-width: 240px; } .bulk-actions { display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; margin-left: auto; } .bulk-actions .input { width: auto; max-width: 160px; } .auto-refresh-toggle { font-size: .82rem; color: var(--muted); margin: 0; white-space: nowrap; } .inline-controls { display: flex; gap: .5rem; align-items: center; } .inline-controls .input { width: 140px; } /* Code block */ .code-block { margin: 0; padding: 1rem; border-radius: 10px; border: 1px solid var(--line); background: rgba(0,0,0,.25); color: #cfe0ff; font-family: var(--mono); font-size: .82rem; line-height: 1.6; overflow: auto; max-height: 420px; white-space: pre-wrap; word-break: break-word; } /* Tooltips */ .tip { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; margin-left: .35rem; border-radius: 50%; background: rgba(110,168,255,.14); border: 1px solid rgba(110,168,255,.28); color: var(--accent); font-size: .65rem; font-weight: 700; line-height: 1; cursor: help; vertical-align: middle; position: relative; flex-shrink: 0; } .tip:hover, .tip:focus { background: rgba(110,168,255,.22); outline: none; } .tip::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(calc(-50% + var(--tip-shift, 0px))) translateY(4px); width: max-content; max-width: 260px; padding: .5rem .65rem; border-radius: 8px; background: #18233d; color: var(--text); border: 1px solid var(--line-strong); box-shadow: 0 10px 30px rgba(0,0,0,.35); font-size: .74rem; font-weight: 500; line-height: 1.45; text-transform: none; letter-spacing: normal; white-space: normal; opacity: 0; pointer-events: none; transition: opacity .15s ease, transform .15s ease; z-index: 500; } .tip::before { content: ''; position: absolute; left: 50%; bottom: calc(100% + 3px); transform: translateX(calc(-50% + var(--tip-shift, 0px))) translateY(4px); border: 5px solid transparent; border-top-color: #18233d; opacity: 0; pointer-events: none; transition: opacity .15s ease, transform .15s ease; z-index: 501; } .tip:hover::after, .tip:focus::after, .tip:hover::before, .tip:focus::before { opacity: 1; transform: translateX(calc(-50% + var(--tip-shift, 0px))) translateY(0); } .label-row { display: inline-flex; align-items: center; gap: .25rem; } /* BART layout */ .bart-layout { display: grid; grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); gap: .75rem; align-items: start; } .bart-rail { position: sticky; top: .75rem; max-height: calc(100vh - 1.5rem); overflow: hidden; display: flex; flex-direction: column; } .bart-rail .bart-type-catalog { flex: 1; min-height: 0; max-height: none; overflow: auto; } .bart-main { display: grid; gap: .75rem; min-width: 0; } @media (max-width: 1100px) { .bart-layout { grid-template-columns: 1fr; } .bart-rail { position: static; max-height: none; } } /* BART catalog */ .bart-type-catalog { display: grid; gap: .75rem; max-height: 60vh; overflow: auto; padding-right: .15rem; } .bart-group-title { font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; margin-bottom: .35rem; } .bart-group-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .45rem; } .bart-type-card { text-align: left; padding: .6rem .7rem; border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,.02); color: var(--text); cursor: pointer; transition: all .18s ease; } .bart-type-card:hover { border-color: rgba(110,168,255,.3); background: rgba(110,168,255,.05); transform: translateY(-1px); } .bart-type-card.selected { border-color: rgba(110,168,255,.55); background: rgba(110,168,255,.1); box-shadow: inset 0 0 0 1px rgba(110,168,255,.2); } .bart-type-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .2rem; } .bart-type-icon { font-size: 1rem; line-height: 1; } .bart-type-id { font-size: .68rem; color: var(--accent); font-weight: 700; font-family: var(--mono); } .bart-type-name { font-size: .83rem; font-weight: 650; margin: .05rem 0; } .bart-type-desc { font-size: .71rem; color: var(--muted); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .bart-type-info { padding: .55rem .7rem; border-radius: 9px; background: rgba(110,168,255,.06); border: 1px solid rgba(110,168,255,.12); font-size: .8rem; } .bart-type-info:empty { display: none; } .bart-selected-type { display: flex; gap: .6rem; align-items: flex-start; } .bart-selected-icon { font-size: 1.3rem; line-height: 1; margin-top: .05rem; } .bart-browse-status { font-size: .78rem; color: var(--muted); min-height: 1.2em; margin-top: .35rem; } .bart-browse-status:empty { display: none; } .bart-upload-purpose { margin-bottom: .65rem; } .bart-purpose { padding: .7rem .85rem; border-radius: 10px; background: linear-gradient(135deg, rgba(110,168,255,.12), rgba(92,214,166,.06)); border: 1px solid rgba(110,168,255,.2); } .bart-purpose-label { font-size: .67rem; text-transform: uppercase; letter-spacing: .07em; color: var(--accent); font-weight: 700; margin-bottom: .15rem; } .bart-purpose-name { font-size: .95rem; font-weight: 650; display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; } .bart-purpose-icon { font-size: 1.1rem; } /* Detail view */ .detail-view { padding: 0; border-radius: 0; border: 0; background: transparent; color: var(--text); font-size: .84rem; line-height: 1.5; overflow: visible; max-height: none; } .kv-grid { display: grid; gap: .35rem; } .kv-row { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: .5rem; padding: .35rem .5rem; border-radius: 8px; background: rgba(255,255,255,.02); border: 1px solid rgba(148,163,184,.08); } .kv-k { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; font-weight: 650; align-self: start; padding-top: .1rem; word-break: break-word; } .kv-v { min-width: 0; word-break: break-word; } .kv-v .mono { font-size: .82rem; } .detail-section { margin-top: .6rem; } .detail-section-title { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; margin-bottom: .35rem; } .detail-list { display: grid; gap: .4rem; } .detail-card { padding: .55rem .65rem; border-radius: 8px; border: 1px solid rgba(148,163,184,.1); background: rgba(255,255,255,.02); } .detail-empty { color: var(--muted); font-style: italic; } .bool-yes { color: #8fe0b5; } .bool-no { color: var(--muted); } .audit-details .kv-grid { gap: .2rem; } .audit-details .kv-row { grid-template-columns: 120px 1fr; padding: .2rem .35rem; font-size: .78rem; } .audit-details .detail-list { gap: .25rem; } .detail-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: .6rem; margin-bottom: .75rem; } .detail-stat { padding: .7rem .8rem; border-radius: 10px; background: rgba(255,255,255,.03); border: 1px solid var(--line); } .detail-stat-label { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; } .detail-stat-value { font-size: 1.1rem; font-weight: 700; margin-top: .15rem; letter-spacing: -.01em; } .detail-stat-sub { font-size: .75rem; color: var(--muted); margin-top: .1rem; } .detail-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .5rem; margin-bottom: .75rem; } .detail-info-item { padding: .55rem .7rem; border-radius: 9px; background: rgba(255,255,255,.02); border: 1px solid rgba(148,163,184,.08); } .detail-info-label { font-size: .67rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; margin-bottom: .15rem; } .detail-info-value { font-size: .88rem; word-break: break-word; } .instance-list { display: grid; gap: .6rem; } .instance-card { padding: .75rem; border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,.02); } .instance-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .5rem; } .instance-title { font-weight: 650; font-size: .88rem; } .tag-row { display: flex; gap: .35rem; flex-wrap: wrap; } /* Tables */ .table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 12px; background: rgba(0,0,0,.12); } .data-table { width: 100%; border-collapse: collapse; font-size: .88rem; } .data-table th, .data-table td { padding: .45rem .65rem; text-align: left; border-bottom: 1px solid rgba(148,163,184,.1); vertical-align: middle; } .data-table th { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 650; background: rgba(255,255,255,.02); position: sticky; top: 0; } .data-table tbody tr { transition: background .15s ease; } .data-table tbody tr:hover { background: rgba(110,168,255,.04); } .data-table tbody tr:last-child td { border-bottom: 0; } .empty-cell { text-align: center; color: var(--muted); padding: 2rem 1rem !important; } .actions-cell { white-space: nowrap; display: flex; gap: .4rem; flex-wrap: wrap; } .pill { display: inline-flex; align-items: center; padding: .2rem .55rem; border-radius: 999px; font-size: .72rem; font-weight: 650; border: 1px solid transparent; } .pill-ok { color: #8fe0b5; background: rgba(79,209,139,.12); border-color: rgba(79,209,139,.2); } .pill-warn { color: #ffe0a3; background: rgba(255,204,102,.12); border-color: rgba(255,204,102,.2); } .pill-bad { color: #ffb3b3; background: rgba(255,107,107,.12); border-color: rgba(255,107,107,.2); } .pill-muted { color: var(--muted); background: rgba(148,163,184,.1); border-color: rgba(148,163,184,.15); } .mono { font-family: var(--mono); font-size: .85em; } /* Auth */ .auth-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: stretch; min-height: calc(100vh - 180px); padding: 1.5rem 0; } .auth-card, .side-card { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 2rem; backdrop-filter: blur(12px); box-shadow: var(--shadow); } .auth-card { animation: borderGlow 6s ease-in-out infinite; } .auth-head h1 { margin: 0; font-size: 2rem; letter-spacing: -.02em; } .auth-head p { margin: .5rem 0 1.5rem; } .auth-foot { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .85rem; display: flex; align-items: center; gap: .5rem; } .auth-foot .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); } .pulse-dot { animation: pulseRing 2s ease-out infinite; } .pending-box { padding: 1rem; border-radius: 12px; background: rgba(110,168,255,.08); border: 1px solid rgba(110,168,255,.18); margin-bottom: 1rem; } .pending-label { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; } .pending-name { font-size: 1.25rem; font-weight: 700; margin: .2rem 0; } .pending-expiry { font-size: .82rem; } .reset-row { margin-top: .75rem; } .side-card { display: flex; flex-direction: column; justify-content: center; background: linear-gradient(160deg, rgba(110,168,255,.08), rgba(20,29,53,.6)); } .side-card h2 { margin: 0 0 1.25rem; font-size: 1.3rem; } .step-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1.25rem; } .step-list li { display: flex; gap: 1rem; align-items: flex-start; } .step-num { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(110,168,255,.15); color: var(--accent); font-weight: 700; font-size: .85rem; flex-shrink: 0; } .step-list strong { display: block; margin-bottom: .15rem; } .step-list p { margin: 0; font-size: .9rem; } /* Flashes/toasts */ .flash { padding: .8rem 1rem; border-radius: 10px; margin-bottom: 1rem; font-size: .9rem; border: 1px solid transparent; } .flash-error { background: rgba(255,107,107,.1); border-color: rgba(255,107,107,.25); color: #ffbdbd; } .flash-success { background: rgba(79,209,139,.1); border-color: rgba(79,209,139,.25); color: #b7efd0; } .flash-info { background: rgba(110,168,255,.1); border-color: rgba(110,168,255,.25); color: #c7dcff; } #toast-container { position: fixed; right: 1rem; bottom: 1rem; display: flex; flex-direction: column; gap: .6rem; z-index: 200; width: min(360px, calc(100vw - 2rem)); } .toast { padding: .85rem 1rem; border-radius: 12px; background: #18233d; border: 1px solid var(--line-strong); color: var(--text); box-shadow: 0 10px 30px rgba(0,0,0,.35); font-size: .88rem; animation: toastIn .3s ease; } .toast.success { border-color: rgba(79,209,139,.35); } .toast.error { border-color: rgba(255,107,107,.35); } .toast.out { animation: toastOut .25s ease forwards; } /* Animations */ .reveal { animation: riseIn .5s ease both; } .delay-1 { animation-delay: .08s; } .delay-2 { animation-delay: .16s; } @keyframes riseIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } @keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } } @keyframes toastIn { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } } @keyframes toastOut { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(10px); } } @keyframes hueDrift { 0%,100% { filter: blur(60px) hue-rotate(0deg); } 50% { filter: blur(60px) hue-rotate(25deg); } } @keyframes gridPan { from { background-position: 0 0, 0 0; } to { background-position: 32px 32px, 32px 32px; } } @keyframes shimmerBg { 0%,100% { background-position: 0% 50%; opacity: .4; } 50% { background-position: 100% 50%; opacity: 1; } } @keyframes pulseRing { 0% { box-shadow: 0 0 0 0 rgba(110,168,255,.45); } 70% { box-shadow: 0 0 0 8px rgba(110,168,255,0); } 100% { box-shadow: 0 0 0 0 rgba(110,168,255,0); } } @keyframes borderGlow { 0%,100% { border-color: rgba(110,168,255,.18); box-shadow: 0 20px 60px rgba(0,0,0,.35), 0 0 0 1px rgba(110,168,255,.05); } 50% { border-color: rgba(139,123,255,.3); box-shadow: 0 20px 60px rgba(0,0,0,.35), 0 0 30px rgba(110,168,255,.08); } } @keyframes sheen { from { transform: translateX(-120%) skewX(-15deg); } to { transform: translateX(220%) skewX(-15deg); } } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } } /* Responsive */ @media (max-width: 1100px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 900px) { .auth-wrap, .split-grid, .room-columns { grid-template-columns: 1fr; } .hero { flex-direction: column; align-items: stretch; } } @media (max-width: 700px) { .admin-topbar { flex-direction: column; align-items: stretch; } .admin-nav { justify-content: space-between; flex-wrap: wrap; } .stats-grid { grid-template-columns: 1fr; } .admin-main { width: min(100% - 1rem, 1400px); } .tab-panels { padding: 1rem; } .data-table th, .data-table td { padding: .6rem; } }