@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@400;500;600;700;800&display=swap'); :root { --brand-orange: #fd6216; --brand-navy: #050026; --brand-orange-50: #fff1e8; --brand-orange-100: #ffe2d2; --brand-orange-200: #ffc9ac; --ink: #0f172a; } * { box-sizing: border-box; } body { margin: 0; font-family: 'Exo 2', sans-serif; background: #f8fafc; color: var(--ink); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } /* ---- Auth / Login ---- */ .auth-page { position: relative; min-height: 100vh; display: grid; place-items: center; padding: 20px; overflow: hidden; } .auth-bg { position: absolute; inset: 0; background: radial-gradient(circle at 20% 20%, rgba(253, 98, 22, 0.24), transparent 42%), radial-gradient(circle at 80% 10%, rgba(99, 102, 241, 0.16), transparent 34%), linear-gradient(180deg, #100b2f 0%, #0c0828 52%, #07051d 100%); } .auth-layout { position: relative; z-index: 1; width: min(1120px, 100%); display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 24px; align-items: stretch; } .auth-visual { border-radius: 24px; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.08); padding: 28px; box-shadow: 0 24px 72px -34px rgba(0, 0, 0, 0.72); } .auth-visual-kicker { margin: 0; display: inline-flex; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.1); color: #ffd7c2; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 10px; } .auth-visual h1 { margin: 16px 0 0; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.1; color: #fff; } .auth-visual p { margin: 12px 0 0; color: rgba(255, 255, 255, 0.82); } .auth-visual img { margin-top: 18px; width: 100%; height: 280px; border-radius: 16px; object-fit: cover; } .auth-card { position: relative; z-index: 1; border-radius: 24px; border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.96); box-shadow: 0 24px 72px -34px rgba(0, 0, 0, 0.72); padding: 30px; color: #0f172a; } .auth-form-card { display: flex; flex-direction: column; } .auth-logo { height: 52px; width: auto; object-fit: contain; margin: 0 auto; } .auth-title { margin: 18px 0 0; text-align: center; font-size: 32px; font-weight: 800; color: #0f172a; } .auth-copy { margin: 12px 0 0; text-align: center; color: #475569; } .auth-form-grid { margin-top: 24px; } .auth-switch { display: flex; justify-content: flex-end; margin-top: -2px; } .auth-switch.split { justify-content: space-between; } .auth-link-btn { border: 0; padding: 0; background: transparent; color: var(--brand-orange); font-size: 13px; font-weight: 600; cursor: pointer; } .auth-link-btn:hover { color: #ea580c; text-decoration: underline; } .auth-inline-msg { margin-top: 12px; } .hint { margin: 6px 0 0; color: #64748b; font-size: 12px; } /* ---- Admin Shell ---- */ .admin-root { min-height: 100vh; background: #f8fafc; } .admin-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid #e2e8f0; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(12px); } .admin-header-inner { width: min(1440px, calc(100% - 36px)); margin: 0 auto; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 14px; } .admin-brand { display: flex; align-items: center; gap: 12px; } .admin-brand img { height: 44px; width: auto; } .admin-brand-kicker { margin: 0; color: #64748b; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; } .admin-brand h1 { margin: 2px 0 0; font-size: 17px; font-weight: 800; color: var(--brand-navy); } .admin-header-actions { display: flex; align-items: center; gap: 10px; } .admin-role-chip { margin: 0; border: 1px solid #fdba74; background: #fff7ed; color: #9a3412; border-radius: 999px; padding: 6px 11px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; } .shell { display: grid; grid-template-columns: 264px 1fr; min-height: calc(100vh - 64px); } .sidebar { border-right: 1px solid #e2e8f0; background: #fcfcfd; padding: 20px 12px 12px; display: flex; flex-direction: column; min-height: 0; } .sidebar-toggle-row { margin-bottom: 12px; display: flex; justify-content: flex-end; padding: 0 6px; } .sidebar-toggle-btn { border: 0; border-radius: 8px; background: transparent; color: #64748b; font-size: 22px; line-height: 1; padding: 3px 8px; cursor: pointer; } .sidebar-toggle-btn:hover { background: #f1f5f9; color: #334155; } .sidebar-nav { flex: 1; min-height: 0; overflow-y: auto; padding-right: 4px; } .nav-item { position: relative; display: flex; align-items: center; gap: 10px; text-decoration: none; color: #475569; border: 1px solid transparent; border-radius: 12px; padding: 11px 12px; margin-bottom: 6px; font-size: 15px; line-height: 1.35; font-weight: 500; transition: all 180ms ease; } .nav-dot { width: 8px; height: 8px; border-radius: 999px; background: #cbd5e1; transition: background-color 180ms ease; } .nav-icon { width: 18px; height: 18px; flex: 0 0 18px; object-fit: contain; } .nav-item:hover { border-color: #e2e8f0; background: #fff; color: #0f172a; } .nav-item:hover .nav-dot { background: #94a3b8; } .nav-item.active { border-color: var(--brand-orange-200); background: linear-gradient(to right, var(--brand-orange-50), color-mix(in srgb, var(--brand-orange-100) 70%, white 30%)); color: #111827; font-weight: 700; box-shadow: inset 3px 0 0 0 var(--brand-orange); } .nav-title { flex: 1; } .active-badge { border: 1px solid var(--brand-orange-200); border-radius: 999px; background: var(--brand-orange-100); color: #b45309; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 2px 7px; } .main { min-width: 0; padding: 14px 16px 16px; } .main-inner { max-width: 1180px; } .admin-tab-wrap { border-bottom: 1px solid #e2e8f0; background: #fff; margin: -2px -16px 16px; padding: 0 16px; } .admin-tabs { display: flex; flex-wrap: wrap; gap: 20px; } .admin-tab { text-decoration: none; border-bottom: 2px solid transparent; padding: 12px 0; font-size: 14px; font-weight: 600; color: #475569; margin-bottom: -1px; transition: color 140ms ease, border-color 140ms ease; } .admin-tab:hover { color: #0f172a; border-bottom-color: #fd6216; } .admin-tab.active { border-bottom-color: #fd6216; color: #050026; } /* ---- Shared Content ---- */ .page-title { margin: 0; font-size: 30px; font-weight: 800; color: #0f172a; } .page-subtitle { margin-top: 8px; color: #64748b; } .grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; margin-top: 16px; } .card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 18px; box-shadow: 0 12px 32px -28px rgba(15, 23, 42, 0.35); } .card h2 { margin: 0 0 12px; font-size: 19px; color: #111827; } .field { margin-bottom: 14px; } .field label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; color: #334155; } .field input, .field textarea, .field select { width: 100%; border: 1px solid #cbd5e1; border-radius: 8px; padding: 10px 12px; font-size: 14px; background: #fff; outline: none; transition: border-color 160ms ease, box-shadow 160ms ease; } .field input:focus, .field textarea:focus, .field select:focus { border-color: var(--brand-orange); box-shadow: 0 0 0 3px rgba(253, 98, 22, 0.14); } .actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; } .btn { border: 1px solid #cbd5e1; background: #fff; color: #334155; border-radius: 8px; padding: 9px 14px; font-weight: 700; text-decoration: none; cursor: pointer; transition: all 160ms ease; } .btn:hover { border-color: #94a3b8; color: #0f172a; } .btn:disabled { opacity: 0.6; cursor: not-allowed; } .btn.primary { border-color: var(--brand-orange); background: var(--brand-orange); color: #fff; } .btn.primary:hover { border-color: #ea580c; background: #ea580c; } .block-btn { width: 100%; justify-content: center; text-align: center; } .json { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; line-height: 1.5; background: #0f172a; color: #e2e8f0; border-radius: 12px; padding: 12px; overflow: auto; max-height: 560px; } .notice { margin-top: 10px; font-size: 12px; color: #64748b; } .inline-note { margin-top: 10px; font-size: 12px; color: #0f766e; font-weight: 700; } .list-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; } .list-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .table-wrap { overflow-x: auto; } .list-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; } .list-table thead th { background: #050026; color: #fff; text-align: left; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 12px; } .list-table tbody td { border-bottom: 1px solid #e2e8f0; padding: 12px; color: #334155; vertical-align: middle; } .list-table tbody tr:hover td { background: #fff7ed; } .align-right { text-align: right !important; } .table-actions { display: flex; justify-content: flex-end; gap: 8px; } .status-chip { display: inline-flex; align-items: center; border-radius: 999px; padding: 4px 10px; font-size: 11px; font-weight: 700; text-transform: uppercase; background: #f1f5f9; color: #475569; } .status-chip.active { background: #ecfdf5; color: #047857; } .list-item { border: 1px solid #dbe1ec; border-radius: 12px; padding: 12px; background: #fff; } .list-item h3 { margin: 0 0 8px; font-size: 16px; } .list-item p { margin: 4px 0; font-size: 13px; color: #475569; } .json-input { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; line-height: 1.5; background: #f8fafc; } .error-note { margin-top: 8px; font-size: 12px; color: #b91c1c; font-weight: 700; } @media (max-width: 1180px) { .auth-layout { grid-template-columns: 1fr; } .auth-visual { display: none; } } @media (max-width: 1000px) { .shell { grid-template-columns: 1fr; } .sidebar { border-right: 0; border-bottom: 1px solid #dbe1ec; } .grid, .list-grid { grid-template-columns: 1fr; } .admin-header-inner { min-height: 62px; } .admin-brand img { height: 36px; } }