:root { --blue: #071b75; --red: #e30620; --yellow: #ffc400; --paper: #f2f5fb; --ink: #111a43; }
* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--ink); background: var(--paper); }
button, input, select, textarea { font: inherit; }
.auth-body { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at top right, #134ac1, transparent 38%), #031359; }
.auth-card { width: min(100%, 450px); padding: 34px; border-radius: 18px; background: white; box-shadow: 0 30px 70px rgba(0,0,0,.3); }
.auth-brand-lockup { display: inline-flex; align-items: center; gap: 12px; color: var(--blue); text-decoration: none; }
.auth-brand-lockup img { width: 56px; height: 56px; object-fit: contain; }
.auth-brand-lockup span { display: grid; line-height: 1; }
.auth-brand-lockup strong { font-size: 20px; font-weight: 900; letter-spacing: -.035em; }
.auth-brand-lockup strong b { color: var(--red); }
.auth-brand-lockup small { margin-top: 6px; font-size: 8px; font-weight: 900; letter-spacing: .13em; }
.auth-card h1 { margin: 4px 0 8px; font-size: 32px; }
.auth-back { margin: 20px 0 0; }
.auth-back a { color: var(--blue); font-size: 13px; font-weight: 800; text-decoration: none; }
.auth-back a:hover { text-decoration: underline; }
.eyebrow { margin: 18px 0 6px; color: var(--red); font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.muted { color: #68708e; line-height: 1.5; }
.stack-form { display: grid; gap: 16px; margin-top: 22px; }
label { display: grid; gap: 7px; color: #394160; font-size: 13px; font-weight: 800; }
input, select, textarea { width: 100%; min-height: 45px; padding: 9px 11px; border: 1px solid #cfd5e5; border-radius: 8px; background: white; color: var(--ink); }
textarea { min-height: 115px; resize: vertical; line-height: 1.5; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full-row { grid-column: 1 / -1; }
.current-image { width: min(100%, 460px); max-height: 220px; object-fit: contain; object-position: left center; padding: 8px; border: 1px solid #dfe4f0; border-radius: 10px; background: #edf1fa; }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; border: 0; border-radius: 8px; cursor: pointer; text-decoration: none; font-weight: 900; }
.button.primary { color: #071445; background: var(--yellow); }
.button.secondary { color: white; background: var(--blue); }
.button.ghost { color: var(--blue); background: #edf1ff; }
.button.full { width: 100%; }
.button:disabled { opacity: .5; cursor: not-allowed; }
.notice { margin: 16px 0; padding: 12px 14px; border-radius: 8px; font-size: 13px; line-height: 1.4; }
.notice.error { color: #861223; background: #ffebee; border: 1px solid #ffc9d0; }
.notice.success { color: #14572c; background: #e9f8ee; border: 1px solid #bce9c9; }
.admin-header { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px 28px; color: white; background: var(--blue); border-bottom: 4px solid var(--red); }
.admin-brand { color: white; text-decoration: none; font-weight: 900; }
.admin-header nav { display: flex; align-items: center; gap: 8px; }
.admin-header nav a { padding: 9px 12px; border-radius: 6px; color: white; text-decoration: none; font-size: 13px; font-weight: 800; }
.admin-header nav a:hover { background: rgba(255,255,255,.12); }
.admin-main { width: min(1180px, calc(100% - 36px)); margin: 38px auto 80px; }
.admin-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 24px; }
.admin-heading h1 { margin: 0; font-size: 34px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat-card, .panel { padding: 24px; border-radius: 14px; background: white; box-shadow: 0 12px 30px rgba(10,30,90,.08); }
.stat-card span { display: block; color: #6c7595; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.stat-card strong { display: block; margin-top: 8px; color: var(--blue); font-size: 42px; }
.panel { margin-top: 22px; }
.panel h2 { margin-top: 0; }
.admin-grid { display: grid; grid-template-columns: 360px 1fr; gap: 22px; align-items: start; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { padding: 13px 10px; border-bottom: 1px solid #e6e9f1; text-align: left; font-size: 13px; }
.data-table th { color: #626c8c; font-size: 11px; text-transform: uppercase; }
.badge { display: inline-block; padding: 5px 8px; border-radius: 99px; background: #e8f7ed; color: #186330; font-size: 11px; font-weight: 900; }
.badge.off { color: #7a3440; background: #f8e7ea; }
.inline-form { display: inline; }
.mini-button { padding: 6px 9px; border: 0; border-radius: 6px; color: var(--blue); background: #edf1ff; cursor: pointer; font-weight: 800; font-size: 11px; }
.preview-thumb { width: 54px; height: 54px; object-fit: contain; background: #e7eaf3; border-radius: 6px; }
@media (max-width: 760px) { .admin-header { align-items: flex-start; flex-direction: column; } .admin-header nav { flex-wrap: wrap; } .stats-grid, .admin-grid, .form-grid { grid-template-columns: 1fr; } .form-grid .full-row { grid-column: auto; } .admin-heading { align-items: flex-start; flex-direction: column; } .data-table { display: block; overflow-x: auto; } }
