:root {
  font-family: Inter, "Segoe UI", system-ui, Arial, sans-serif;
  color: #0c172b;
  background: #f5f6fa;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  --ink: #0b1427;
  --navy: #071021;
  --pink: #f30063;
  --muted: #69758a;
  --border: #e6eaf0;
  --shadow: 0 14px 44px rgba(11, 20, 39, .045);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; }
a { color: #db005a; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
svg { flex-shrink: 0; }
:focus-visible { outline: 3px solid #f85b9d; outline-offset: 3px; }
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar { width: 265px; flex: 0 0 265px; position: sticky; top: 0; align-self: flex-start; height: 100vh; overflow-y: auto; background: #080f20; color: #d6dce8; display: flex; flex-direction: column; padding: 28px 14px 18px; z-index: 30; }
.sidebar-brand { display: flex; align-items: center; gap: 13px; padding: 0 14px 20px; min-height: 66px; }
.sidebar-brand img { display: block; width: 143px; height: auto; max-height: 53px; object-fit: contain; }
.sidebar-brand span, .auth-brand span { color: #ff4b91; font-size: 10px; font-weight: 850; letter-spacing: .16em; }
.sidebar-divider { border-top: 1px solid rgba(255,255,255,.12); margin: 0 12px 28px; }
.sidebar-section { color: #68778f; font-size: 10px; font-weight: 800; letter-spacing: .16em; padding: 0 18px 12px; }
.sidebar-section-secondary { padding-top: 26px; }
.sidebar-nav { display: grid; gap: 3px; }
.sidebar-link { color: #b9c5d8; display: flex; align-items: center; gap: 14px; padding: 11px 15px; border-radius: 11px; font-size: 13.5px; font-weight: 650; transition: background .18s, color .18s; }
.sidebar-link svg { width: 19px; height: 19px; opacity: .78; }
.sidebar-link:hover { background: rgba(255,255,255,.07); color: white; }
.sidebar-link.is-active { background: #252236; color: #fff; box-shadow: inset 3px 0 0 var(--pink); }
.sidebar-link.is-active svg { color: #ff4e91; opacity: 1; }
.sidebar-bottom { margin-top: auto; display: grid; gap: 16px; padding: 30px 13px 0; font-size: 12px; }
.sidebar-bottom a { display: flex; align-items: center; gap: 6px; font-weight: 700; color: white; }
.sidebar-bottom svg { width: 14px; }
.sidebar-status { color: #8797af; display: flex; align-items: center; gap: 8px; }
.sidebar-status i { background: #36d595; width: 7px; height: 7px; border-radius: 100%; }
.admin-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.admin-top { display: flex; align-items: center; gap: 20px; justify-content: space-between; min-height: 82px; background: #fff; border-bottom: 1px solid var(--border); padding: 0 clamp(22px, 3.2vw, 54px); }
.top-breadcrumb { font-size: 11px; font-weight: 800; color: #9aa4b4; letter-spacing: .09em; }
.top-breadcrumb span { margin: 0 9px; color: #b6bfcb; }
.top-breadcrumb b { color: #24354e; letter-spacing: 0; }
.top-actions { display: flex; align-items: center; gap: 26px; font-size: 13px; }
.top-web { color: #35445b; font-weight: 750; display: inline-flex; gap: 4px; align-items: center; }
.top-web svg { width: 17px; height: 17px; }
.top-user { font-weight: 750; display: inline-flex; align-items: center; gap: 9px; color: #20324a; }
.top-user i { font-style: normal; width: 31px; height: 31px; border-radius: 50%; background: #ffe8f2; color: #e20060; font-weight: 850; display: grid; place-items: center; }
.top-logout { color: #8692a3; display: flex; }
.top-logout:hover { color: var(--pink); }
.menu-toggle { border: 0; background: transparent; display: none; color: #101c2d; padding: 6px; }
.admin-main { padding: 44px clamp(22px, 3.2vw, 54px) 72px; width: 100%; max-width: 1800px; margin: 0 auto; flex: 1; }
.page-heading { display: flex; align-items: center; justify-content: space-between; margin: 0 0 31px; }
.eyebrow { font-size: 10px; letter-spacing: .20em; font-weight: 900; color: var(--pink); }
.page-heading .eyebrow::before { content: ""; display: inline-block; width: 21px; height: 2px; background: var(--pink); margin: 0 9px 3px 0; }
.admin-main h1 { font-size: clamp(29px, 3vw, 40px); font-weight: 850; line-height: 1.12; letter-spacing: -.055em; margin: 11px 0 0; }
.admin-main h2 { font-size: 20px; letter-spacing: -.035em; line-height: 1.28; margin: 0 0 19px; }
.admin-card { background: #fff; padding: clamp(20px, 2.5vw, 31px); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); margin: 0 0 24px; min-width: 0; }
.admin-card > :last-child { margin-bottom: 0; }
.admin-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 0 0 22px; }
.admin-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 19px; min-height: 47px; border: 1px solid var(--pink); border-radius: 11px; background: var(--pink); color: white; font-size: 13px; font-weight: 800; box-shadow: 0 9px 20px rgba(237, 0, 98, .12); transition: transform .15s, filter .15s; text-decoration: none; }
.admin-btn:hover { transform: translateY(-1px); filter: brightness(1.06); color: white; }
.admin-btn svg { width: 18px; height: 18px; }
.admin-btn.secondary { background: #fff; border-color: #dbe2eb; color: #101c2d; box-shadow: none; }
.admin-btn.secondary:hover { color: var(--pink); border-color: #ffc3db; }
.admin-btn.danger { background: #fff; color: #a73548; border-color: #f0cdd3; box-shadow: none; }
.admin-btn.danger:hover { color: #8e1930; }
.admin-btn.small { min-height: 38px; padding: 8px 13px; font-size: 12px; }
.admin-table-wrap { width: 100%; overflow-x: auto; border-radius: 13px; }
.admin-table { border-collapse: collapse; width: 100%; text-align: left; min-width: 620px; }
.admin-table thead { background: #f8f9fc; }
.admin-table th { font-size: 10px; text-transform: uppercase; letter-spacing: .085em; color: #718097; padding: 16px; border-bottom: 1px solid var(--border); font-weight: 850; }
.admin-table td { font-size: 13px; padding: 15px 16px; border-bottom: 1px solid #eff1f5; vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table tbody tr:hover { background: #fcfcff; }
.admin-table td strong { color: #13213a; }
.admin-table td a { font-weight: 800; }
.muted, .admin-note { color: var(--muted); }
.admin-note { line-height: 1.75; font-size: 13px; }
.admin-note code, .auth-hint code { padding: 3px 5px; background: #f1f3f7; border-radius: 4px; font-size: .94em; }
.admin-form { display: grid; gap: 19px; max-width: 900px; }
.admin-field { display: grid; gap: 8px; min-width: 0; }
.admin-field label { font-size: 13px; font-weight: 800; color: #16213a; }
.admin-field input, .admin-field textarea, .admin-field select { width: 100%; min-width: 0; padding: 12px 15px; min-height: 49px; border: 1px solid #d7deea; border-radius: 10px; background: #fff; color: #17243a; outline: none; transition: border-color .16s, box-shadow .16s; }
.admin-field input:focus, .admin-field textarea:focus, .admin-field select:focus { border-color: #f04a8d; box-shadow: 0 0 0 4px rgba(255, 0, 102, .09); }
.admin-field textarea { resize: vertical; min-height: 130px; }
.admin-field textarea.large { min-height: 370px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 13px; }
.admin-field small { font-size: 12px; line-height: 1.55; color: #778399; }
.admin-alert { border-radius: 12px; background: #ebf9f1; color: #126343; padding: 15px 18px; margin: 0 0 23px; font-size: 13px; font-weight: 700; border: 1px solid #cfeedd; }
.admin-alert.error { color: #a02846; background: #fff1f4; border-color: #f5d3dc; }
.admin-stats { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.admin-stats .admin-card { margin: 0 0 24px; }
.admin-stats p { font-size: 12px; color: #728096; font-weight: 800; margin: 0 0 16px; }
.admin-stats strong { color: #0f1b30; font-size: 39px; letter-spacing: -.07em; font-weight: 850; }
.admin-stats .admin-card:nth-child(1) { border-top: 3px solid #ff0a72; }
.admin-stats .admin-card:nth-child(2) { border-top: 3px solid #9655dc; }
.admin-stats .admin-card:nth-child(3) { border-top: 3px solid #40b2d3; }
.admin-stats .admin-card:nth-child(4) { border-top: 3px solid #ffc066; }
.admin-media-preview { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.admin-media-preview figure { margin: 0; min-width: 0; }
.admin-media-preview img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 9px; }
.admin-media-preview figcaption { font-size: 11px; color: #788398; margin: 7px 0; overflow-wrap: anywhere; }
.admin-media-preview .admin-btn { margin-top: 6px; }
.admin-attachments { border-radius: 12px; border: 1px dashed #cdd5e3; background: #fafbfc; padding: 20px; }
.admin-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; }
.admin-pagination span { font-size: 12px; color: #6e7b8f; }
.admin-filter { display: flex; gap: 10px; align-items: stretch; margin: 0 0 19px; max-width: 520px; }
.admin-filter input { flex: 1; min-width: 0; min-height: 45px; border: 1px solid #dbe1ec; border-radius: 9px; padding: 0 13px; }
.admin-badge { display: inline-flex; align-items: center; background: #eef9f3; color: #1b8059; font-weight: 750; font-size: 11px; border-radius: 30px; padding: 6px 9px; }
.admin-badge.off { background: #f1f2f6; color: #737e90; }
.admin-mini-grid { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.admin-quick-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.admin-quick-links a { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 18px; border: 1px solid #e6eaf1; border-radius: 12px; color: #12213a; font-weight: 800; font-size: 13px; }
.admin-quick-links a:hover { border-color: #f7b2cd; color: #d50058; }
.admin-footer { padding: 25px clamp(22px, 3.2vw, 54px); color: #9aa4b5; font-size: 11px; border-top: 1px solid #e5eaf1; display: flex; justify-content: space-between; }
.sidebar-backdrop { display: none; }
.admin-guest { background: #080f20; }
.auth-top { height: 91px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 clamp(24px, 4.6vw, 70px); border-bottom: 1px solid rgba(255,255,255,.095); background: #080f20; }
.auth-brand { display: flex; align-items: center; gap: 17px; }
.auth-brand img { max-width: 155px; height: auto; display: block; }
.auth-back { display: inline-flex; align-items: center; gap: 8px; color: #c6d2e4; font-size: 13px; font-weight: 700; }
.auth-back svg { width: 16px; }
.auth-back:hover { color: #fff; }
.auth-layout { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(420px,.88fr); min-height: calc(100vh - 91px); }
.auth-visual { position: relative; overflow: hidden; min-height: 680px; background: #080f20; }
.auth-visual-image { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,15,32,.16), rgba(8,15,32,.02)), linear-gradient(0deg, #080f20 5%, rgba(8,15,32,.15) 70%), url('/assets/img/hero.jpg') center center/cover; opacity: .86; }
.auth-visual::after { content: ""; position: absolute; left: 0; bottom: 0; width: 60%; height: 200px; background: radial-gradient(ellipse at bottom left, rgba(243,0,99,.23), transparent 70%); pointer-events: none; }
.auth-visual-text { position: absolute; z-index: 1; bottom: clamp(70px, 9vh, 145px); left: clamp(30px, 6vw, 100px); right: 50px; color: #fff; max-width: 690px; }
.auth-visual-text h2 { font-size: clamp(33px,3.8vw,64px); line-height: 1.12; letter-spacing: -.06em; font-weight: 850; margin: 19px 0 20px; }
.auth-visual-text h2 em { font-style: normal; color: #ff3887; }
.auth-visual-text p { max-width: 460px; line-height: 1.65; color: #c5cbd9; font-size: 15px; }
.auth-main { background: #f5f6fa; display: flex; justify-content: center; align-items: center; padding: 55px clamp(26px, 6vw, 108px); min-width: 0; }
.auth-content { width: min(100%, 475px); }
.auth-intro .eyebrow { display: block; margin-bottom: 14px; }
.auth-intro h1 { color: #081326; font-size: clamp(38px, 4.1vw, 55px); line-height: 1.05; letter-spacing: -.065em; margin: 0 0 17px; font-weight: 850; }
.auth-intro p { color: #738096; font-size: 14px; line-height: 1.6; margin: 0 0 29px; }
.auth-card { padding: clamp(24px,3vw,38px); box-shadow: 0 18px 60px rgba(10,20,42,.055); margin-bottom: 0; }
.auth-card .admin-form { gap: 21px; }
.auth-card .admin-field input { min-height: 56px; }
.auth-card-icon { width: 48px; height: 48px; display: grid; place-items: center; background: #ffe9f2; color: #e90062; border-radius: 12px; margin-bottom: 17px; }
.auth-card h2 { margin-bottom: 12px; }
.auth-card .admin-note { margin: 0 0 20px; }
.auth-submit { width: 100%; min-height: 56px; font-size: 15px; border-radius: 10px; margin-top: 4px; }
.auth-submit svg { margin-left: auto; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 92px; }
.show-password { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 12px; font-weight: 750; color: #d50060; background: none; border: 0; padding: 5px; }
.auth-hint { color: #8b95a7; font-size: 12px; text-align: center; line-height: 1.65; padding-top: 21px; }
@media (max-width: 1260px) {
  .admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-mini-grid { grid-template-columns: 1fr; }
  .auth-main { padding: 45px 38px; }
}
@media (max-width: 1020px) {
  .admin-sidebar { position: fixed; left: 0; top: 0; bottom: 0; transform: translateX(-105%); transition: transform .2s; }
  .sidebar-open .admin-sidebar { transform: translateX(0); }
  .sidebar-open .sidebar-backdrop { display: block; position: fixed; inset: 0; z-index: 20; background: rgba(3,9,22,.5); }
  .menu-toggle { display: flex; }
  .top-breadcrumb { flex: 1; }
  .admin-top { padding: 0 28px; }
  .admin-quick-links { grid-template-columns: repeat(2,1fr); }
  .auth-layout { grid-template-columns: .9fr 1.1fr; }
  .auth-visual-text h2 { font-size: 34px; }
}
@media (max-width: 720px) {
  .auth-top { height: 76px; padding: 0 20px; }
  .auth-brand img { width: 131px; }
  .auth-back { font-size: 12px; }
  .auth-layout { grid-template-columns: 1fr; min-height: calc(100vh - 76px); }
  .auth-visual { display: none; }
  .auth-main { padding: 45px 19px 62px; align-items: flex-start; }
  .auth-intro h1 { font-size: 39px; }
  .admin-top { min-height: 69px; padding: 0 18px; }
  .top-breadcrumb { font-size: 10px; }
  .top-actions { gap: 13px; }
  .top-web, .top-user { display: none; }
  .admin-main { padding: 31px 16px 52px; }
  .admin-main h1 { font-size: 32px; }
  .admin-card { padding: 18px; border-radius: 14px; }
  .admin-stats { gap: 11px; }
  .admin-stats strong { font-size: 30px; }
  .admin-media-preview { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .admin-quick-links { grid-template-columns: 1fr; }
  .admin-actions .admin-btn { flex: 1; }
  .admin-footer { flex-wrap: wrap; gap: 6px; }
}

.admin-inline { display: inline-flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.admin-inline input[type="password"] { min-height: 36px; max-width: 160px; width: 100%; border: 1px solid #d6dfe9; border-radius: 7px; padding: 7px 9px; }


.admin-dashboard-intro{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:25px 30px;margin-bottom:22px;border-radius:18px;color:#eaf0f9;background:linear-gradient(110deg,#101e35,#172944 72%,#38203d);position:relative;overflow:hidden}
.admin-dashboard-intro:after{content:"";position:absolute;right:15%;top:-95px;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(255,28,116,.17),transparent 67%);pointer-events:none}
.admin-dashboard-intro h2{margin:0 0 7px;color:#fff;font-size:clamp(21px,2.3vw,29px)}
.admin-dashboard-intro p{margin:0;color:#b8c6da;font-size:13px;line-height:1.6}
.admin-dashboard-intro .admin-btn{position:relative;white-space:nowrap;background:#fff;color:#14223a}
.admin-dashboard-stats{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px;margin:0 0 24px;align-items:stretch}
.admin-dashboard-stats .admin-stat-card{margin:0!important;padding:24px;min-height:148px;display:flex;flex-direction:column;align-items:flex-start;gap:8px;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;color:inherit;text-decoration:none}
.admin-dashboard-stats .admin-stat-card:hover{transform:translateY(-3px);border-color:#f6accb;box-shadow:0 14px 32px rgba(24,35,57,.1)}
.admin-dashboard-stats .admin-stat-label{color:#67758b;font-size:13px;font-weight:750}
.admin-dashboard-stats .admin-stat-card strong{font-size:clamp(32px,3vw,42px);line-height:1.16;letter-spacing:-.06em}
.admin-dashboard-stats .admin-stat-caption{color:#8290a3;font-size:11px;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;margin-top:auto}
.admin-dashboard-stats .admin-stat-caption svg{width:16px;height:16px;color:#d6005e}
.admin-dashboard-feature{background:#fff;border:1px solid var(--border);border-radius:18px;padding:27px 30px;margin-bottom:24px;box-shadow:var(--shadow)}
.admin-feature-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}
.admin-feature-head h2{margin:5px 0 8px;font-size:22px}
.admin-feature-head p{margin:0;color:#708097;font-size:13px}
.admin-feature-eyebrow{color:#e50065;font-size:10px;font-weight:900;letter-spacing:.15em}
.admin-upcoming-list{display:grid;gap:8px}
.admin-upcoming-item{display:flex;align-items:center;gap:16px;padding:13px 16px;border:1px solid #e9edf3;border-radius:12px;color:#15243b;background:#fff;transition:background .18s,border-color .18s}
.admin-upcoming-item:hover{background:#fff8fb;border-color:#f5b7ce}
.admin-upcoming-item.is-next{border-color:#f8c6da;background:linear-gradient(90deg,#fff3f8,#fff)}
.admin-upcoming-date{flex:0 0 64px;font-weight:850;font-variant-numeric:tabular-nums;color:#e40064}
.admin-upcoming-copy{flex:1;min-width:0;display:grid;gap:2px}
.admin-upcoming-copy strong{font-size:14px}
.admin-upcoming-copy small{font-size:12px;color:#77849a;overflow-wrap:anywhere}
.admin-upcoming-time{font-weight:800;color:#18283f;font-size:13px;font-variant-numeric:tabular-nums}
.admin-next-tag{font-size:10px;font-weight:800;color:#b0004f;padding:6px 9px;border-radius:99px;background:#ffe7f1;white-space:nowrap}
.admin-next-tag.is-soft{color:#5a6781;background:#f1f3f7}
.admin-upcoming-item svg{color:#e40064;width:16px;height:16px}
.admin-dashboard-actions .admin-card-head{display:flex;justify-content:space-between}
.admin-dashboard-actions h2{margin:0 0 4px}
.admin-dashboard-actions .admin-note{margin:0 0 18px}
.admin-filter.admin-filter-expanded{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;max-width:none;margin:10px 0 23px}
.admin-filter-expanded .admin-filter-search{flex:1 1 230px;min-width:170px}
.admin-filter-expanded .admin-filter-status{flex:0 1 230px;min-width:180px}
.admin-filter-expanded label{display:block;margin-bottom:8px;color:#35445b;font-weight:750;font-size:12px}
.admin-filter-expanded input,.admin-filter-expanded select{width:100%;min-height:47px;padding:11px 13px;border:1px solid #d8e1eb;border-radius:10px;background:#fff;color:#142239;outline:none}
.admin-filter-expanded input:focus,.admin-filter-expanded select:focus{border-color:#f04a8d;box-shadow:0 0 0 3px rgba(255,0,102,.1)}
.admin-filter-expanded .admin-btn{min-height:47px}
.admin-filter-hint{margin:-6px 0 18px;color:#758398;font-size:12px}
@media(max-width:1190px){.admin-dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:720px){.admin-dashboard-intro{padding:22px;flex-direction:column;align-items:stretch}.admin-dashboard-stats{gap:11px}.admin-dashboard-stats .admin-stat-card{padding:18px;min-height:124px}.admin-dashboard-feature{padding:18px}.admin-feature-head{align-items:stretch;flex-direction:column}.admin-upcoming-item{flex-wrap:wrap;gap:7px 12px}.admin-upcoming-date{flex-basis:56px}.admin-upcoming-copy{flex-basis:calc(100% - 70px)}.admin-upcoming-time{margin-left:68px}.admin-next-tag{margin-left:auto}.admin-upcoming-item svg{display:none}.admin-filter-expanded .admin-filter-status{flex:1 1 180px}}
@media(prefers-reduced-motion:reduce){.admin-dashboard-stats .admin-stat-card,.admin-upcoming-item{transition:none}.admin-dashboard-stats .admin-stat-card:hover{transform:none}}
