body { min-height: 100vh; background: linear-gradient(145deg, #fff8f2, #f7eef6); }
.admin-shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 28px 0 60px; }
.admin-header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; }
.admin-header h1 { margin: 0; font-size: 24px; }
.admin-header a { color: var(--pink-deep); text-decoration: none; }
.admin-header button { justify-self: end; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: white; cursor: pointer; }
.admin-login { min-height: 70vh; display: grid; place-items: center; }
.admin-login form { width: min(440px, 100%); display: grid; gap: 14px; padding: 34px; border: 1px solid rgba(255,255,255,.85); border-radius: 28px; background: rgba(255,253,250,.88); box-shadow: var(--shadow); }
.admin-kicker { color: var(--pink-deep); font: 700 11px/1 sans-serif; letter-spacing: .18em; }
.admin-login h2 { margin: 0; font-size: 28px; }
.admin-login p { margin: -5px 0 5px; color: var(--muted); }
.admin-login input, .table-toolbar input { min-height: 48px; padding: 0 15px; border: 1px solid var(--line); border-radius: 14px; outline: none; background: white; }
.dashboard { display: grid; gap: 22px; margin-top: 34px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.stat-card, .admin-card { border: 1px solid rgba(255,255,255,.85); background: rgba(255,253,250,.88); box-shadow: 0 18px 45px rgba(112,79,100,.1); }
.stat-card { padding: 20px; border-radius: 20px; }
.stat-card span { display: block; color: var(--muted); font-size: 13px; }
.stat-card strong { display: block; margin-top: 8px; color: var(--pink-deep); font: 700 25px/1.2 system-ui, sans-serif; }
.admin-card { padding: 24px; border-radius: 24px; }
.table-toolbar { display: flex; justify-content: space-between; gap: 18px; align-items: end; }
.table-toolbar h2 { margin: 0; }
.table-toolbar p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.table-toolbar > div:last-child { display: flex; gap: 8px; }
.table-wrap { overflow-x: auto; margin-top: 18px; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 13px 10px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
th { color: var(--muted); font-size: 12px; font-weight: 600; }
td { font-family: system-ui, sans-serif; font-size: 14px; }
.danger-button { padding: 7px 11px; border: 1px solid #efc4cc; border-radius: 10px; background: #fff4f5; color: #b94e63; cursor: pointer; }
.pager { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 18px; }
@media (max-width: 800px) { .stats-grid { grid-template-columns: repeat(2,1fr); } .admin-header { grid-template-columns: 1fr auto; } .admin-header h1 { grid-row: 2; grid-column: 1 / -1; } .table-toolbar { align-items: stretch; flex-direction: column; } .table-toolbar > div:last-child { width: 100%; } .table-toolbar input { min-width: 0; flex: 1; } }
@media (max-width: 480px) { .stats-grid { grid-template-columns: 1fr; } .admin-card { padding: 17px; } }
