:root {
  --fruit-pink: #ff2d6f;
  --fruit-orange: #ff8a3d;
  --fruit-yellow: #ffc857;
  --fruit-green: #39e2a0;
  --ink: #120c12;
  --panel: #1a1118;
  --panel-2: #22151f;
  --line: rgba(255,255,255,.09);
  --muted: #a79aa7;
}
* { box-sizing: border-box; }
body.admin-body {
  margin: 0;
  min-height: 100vh;
  color: #f9f5f8;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(255,45,111,.18), transparent 60%),
    radial-gradient(800px 500px at 0% 100%, rgba(255,138,61,.14), transparent 60%),
    #0d090d;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: #ff8ab5; text-decoration: none; }
a:hover { color: #ffd0e0; }
.admin-shell { display: flex; min-height: 100vh; }
.sidebar {
  width: 272px; flex: 0 0 272px; padding: 22px 16px 16px;
  background: linear-gradient(180deg, rgba(30,18,27,.98), rgba(14,9,14,.98));
  border-right: 1px solid var(--line); position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; z-index: 40;
}
.sidebar-brand { display: flex; gap: 12px; align-items: center; color: #fff; padding: 4px 8px 22px; }
.sidebar-brand:hover { color: #fff; }
.sidebar-brand strong { display: block; font-family: "Space Grotesk", Inter, sans-serif; letter-spacing: .4px; font-size: 17px; }
.sidebar-brand small { display: block; color: var(--muted); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; margin-top: 2px; }
.brand-fruit {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px;
  background: linear-gradient(135deg, var(--fruit-pink), var(--fruit-orange));
  box-shadow: 0 10px 30px rgba(255,45,111,.3); font-size: 23px;
}
.sidebar-nav { overflow-y: auto; flex: 1; padding-right: 4px; }
.nav-label {
  color: #7e6f7c; font-size: 9.5px; font-weight: 800; letter-spacing: 1.6px;
  text-transform: uppercase; margin: 18px 10px 8px;
}
.sidebar .nav-link {
  color: #cfc4ce; display: flex; align-items: center; gap: 10px;
  border-radius: 11px; padding: 9px 10px; font-size: 13px; font-weight: 550;
  transition: all .15s ease; margin-bottom: 2px;
}
.sidebar .nav-link:hover { background: rgba(255,255,255,.06); color: #fff; }
.sidebar .nav-link.active {
  color: #fff; background: linear-gradient(135deg, rgba(255,45,111,.28), rgba(255,138,61,.14));
  box-shadow: inset 0 0 0 1px rgba(255,138,181,.28);
}
.nav-icon { width: 23px; text-align: center; font-size: 14px; }
.nav-badge {
  margin-left: auto; background: var(--fruit-pink); color: white; border-radius: 20px;
  min-width: 19px; padding: 1px 6px; font-size: 10px; font-weight: 800; text-align: center;
}
.sidebar-foot {
  border-top: 1px solid var(--line); padding-top: 14px; display: flex; align-items: center; gap: 10px;
  font-size: 12px; margin-top: 12px;
}
.sidebar-foot small { color: var(--muted); display: block; }
.avatar-fruit {
  width: 35px; height: 35px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--fruit-pink), var(--fruit-orange));
  font-weight: 800; color: #fff;
}
.logout-link { margin-left: auto; color: #ffb1c9; font-size: 11px; font-weight: 700; }
.admin-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 16px;
  padding: 17px 28px; background: rgba(13,9,13,.82); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.topbar h1 { font-family: "Space Grotesk", Inter, sans-serif; font-size: 24px; margin: 2px 0 0; font-weight: 700; letter-spacing: -.5px; }
.eyebrow { color: #ff9cbc; font-size: 9px; font-weight: 800; letter-spacing: 1.8px; }
.topbar-actions { margin-left: auto; display: flex; gap: 8px; }
.content { padding: 28px; max-width: 1600px; width: 100%; }
.admin-footer {
  margin-top: auto; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding: 14px 28px; color: #7e6f7c; font-size: 10px;
}
.card, .modal-content, .dropdown-menu {
  background: linear-gradient(180deg, rgba(34,21,31,.96), rgba(24,15,23,.96));
  border: 1px solid var(--line); color: #f9f5f8; border-radius: 16px;
}
.modal-header, .modal-footer { border-color: var(--line); }
.card-header { border-color: var(--line); background: transparent; padding: 16px 18px 8px; }
.card-body { padding: 18px; }
.card-title { font-size: 14px; font-weight: 700; letter-spacing: -.1px; }
.text-muted { color: var(--muted) !important; }
.small, small { font-size: 11px; }
.btn-fruit {
  background: linear-gradient(135deg, var(--fruit-pink), var(--fruit-orange));
  color: #fff; border: 0; font-weight: 750; border-radius: 10px;
  box-shadow: 0 8px 22px rgba(255,45,111,.22);
}
.btn-fruit:hover { color: #fff; filter: brightness(1.06); transform: translateY(-1px); }
.btn-outline-light { border-color: rgba(255,255,255,.18); }
.btn-sm { border-radius: 8px; }
.form-control, .form-select, .form-check-input {
  background-color: #241824; border-color: #3b2838; color: #fff; border-radius: 9px;
}
.form-control:focus, .form-select:focus {
  background-color: #241824; color: #fff; border-color: var(--fruit-pink);
  box-shadow: 0 0 0 .2rem rgba(255,45,111,.15);
}
.form-control::placeholder { color: #766575; }
.form-label { font-size: 10.5px; text-transform: uppercase; letter-spacing: .8px; font-weight: 800; color: #bfaeba; }
.form-check-input:checked { background-color: var(--fruit-pink); border-color: var(--fruit-pink); }
.form-text { color: #8b7b89; }
.stat-card { height: 100%; position: relative; overflow: hidden; }
.stat-card .stat-icon {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  font-size: 18px; background: rgba(255,255,255,.06); margin-bottom: 13px;
}
.stat-value { font-family: "Space Grotesk", Inter, sans-serif; font-size: 28px; font-weight: 700; letter-spacing: -1px; line-height: 1; }
.stat-label { color: var(--muted); font-size: 10.5px; margin-top: 6px; text-transform: uppercase; letter-spacing: .7px; }
.stat-trend { font-size: 10px; color: var(--fruit-green); margin-top: 8px; }
.stat-card.pink .stat-icon { background: rgba(255,45,111,.15); }
.stat-card.orange .stat-icon { background: rgba(255,138,61,.15); }
.stat-card.green .stat-icon { background: rgba(57,226,160,.13); }
.stat-card.yellow .stat-icon { background: rgba(255,200,87,.13); }
.table { color: #f9f5f8; --bs-table-bg: transparent; --bs-table-color: #f9f5f8; --bs-table-border-color: var(--line); }
.table thead th {
  color: #9d8d9b; font-size: 9.5px; text-transform: uppercase; letter-spacing: .8px;
  font-weight: 800; border-bottom-width: 1px; white-space: nowrap;
}
.table > :not(caption) > * > * { padding: .75rem .65rem; }
.table-hover > tbody > tr:hover > * { background: rgba(255,255,255,.035); color: #fff; }
.badge { font-weight: 700; border-radius: 20px; padding: .36em .65em; font-size: 9.5px; letter-spacing: .2px; }
.badge-soft-pink { background: rgba(255,45,111,.15); color: #ff8ab5; }
.badge-soft-green { background: rgba(57,226,160,.13); color: #67efb9; }
.badge-soft-yellow { background: rgba(255,200,87,.14); color: #ffda85; }
.thumb {
  width: 44px; height: 60px; border-radius: 8px; object-fit: cover; background: #241824;
  border: 1px solid var(--line);
}
.thumb-wide { width: 82px; height: 58px; border-radius: 8px; object-fit: cover; }
.video-frame { width: 100%; max-height: 72vh; border-radius: 14px; background: #000; }
.alert { border-radius: 11px; border: 1px solid transparent; font-size: 12.5px; }
.alert-success { background: rgba(57,226,160,.11); border-color: rgba(57,226,160,.25); color: #a9f4d5; }
.alert-danger { background: rgba(255,77,94,.11); border-color: rgba(255,77,94,.25); color: #ffc0c7; }
.alert-warning { background: rgba(255,200,87,.11); border-color: rgba(255,200,87,.25); color: #ffe4a6; }
.alert-info { background: rgba(35,213,245,.10); border-color: rgba(35,213,245,.24); color: #b7f2fc; }
.pagination .page-link { background: #22151f; border-color: var(--line); color: #d9cbd7; }
.pagination .active > .page-link { background: var(--fruit-pink); border-color: var(--fruit-pink); }
.list-group-item { background: transparent; border-color: var(--line); color: #f9f5f8; }
.empty-state { padding: 38px 20px; text-align: center; color: var(--muted); }
.empty-state .emoji { font-size: 34px; display: block; margin-bottom: 10px; }
.nav-tabs { border-color: var(--line); }
.nav-tabs .nav-link { color: #a995a3; border: 0; border-bottom: 2px solid transparent; font-size: 12px; font-weight: 700; }
.nav-tabs .nav-link.active { color: #fff; background: transparent; border-bottom-color: var(--fruit-pink); }
.hstack-sm { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.table-actions { display: flex; gap: 4px; flex-wrap: wrap; }
.inline-form { display: inline; }
.chart-box { height: 280px; position: relative; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-title h2 { font-family: "Space Grotesk", Inter, sans-serif; font-size: 17px; margin: 0; }
.help { color: #8b7b89; font-size: 10.5px; line-height: 1.5; }
.kv { display: grid; grid-template-columns: 105px 1fr; gap: 8px; font-size: 12px; }
.kv dt { color: #8b7b89; font-weight: 500; }
.kv dd { margin: 0; color: #f3ebf1; }
.audio-badge { font-size: 9px; padding: 2px 6px; border-radius: 10px; }
.audio-yes { background: rgba(57,226,160,.14); color: #67efb9; }
.audio-no { background: rgba(255,200,87,.14); color: #ffda85; }
.file-preview { border: 1px dashed #4a3346; border-radius: 12px; padding: 14px; background: rgba(0,0,0,.15); }
.login-body {
  min-height: 100vh; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(1200px 800px at 80% 0%, rgba(255,45,111,.22), transparent 55%),
              radial-gradient(900px 700px at 0% 100%, rgba(255,138,61,.16), transparent 55%), #0c080c;
  padding: 20px;
}
.login-orb { position: fixed; border-radius: 50%; filter: blur(10px); opacity: .45; pointer-events: none; }
.orb-one { width: 300px; height: 300px; background: #ff2d6f; top: -140px; right: 5%; }
.orb-two { width: 240px; height: 240px; background: #ff8a3d; bottom: -100px; left: 8%; }
.login-card {
  width: 100%; max-width: 430px; background: linear-gradient(180deg, rgba(37,22,33,.97), rgba(20,12,19,.98));
  border: 1px solid rgba(255,255,255,.1); border-radius: 22px; padding: 32px;
  box-shadow: 0 35px 80px rgba(0,0,0,.5); position: relative; z-index: 2;
}
.login-card h1 { font-family: "Space Grotesk", Inter, sans-serif; font-size: 21px; margin: 0; letter-spacing: .3px; }
.login-card h2 { font-family: "Space Grotesk", Inter, sans-serif; font-size: 26px; margin: 26px 0 4px; letter-spacing: -.8px; }
.login-brand { display: flex; align-items: center; gap: 12px; }
.login-brand p { margin: 2px 0 0; color: #c8b8c4; font-size: 10px; }
.login-card .btn { min-height: 46px; }
@media (max-width: 991.98px) {
  .sidebar { position: fixed; left: 0; top: 0; transform: translateX(-100%); transition: transform .2s ease; }
  .sidebar.open { transform: translateX(0); }
  .topbar, .content { padding-left: 16px; padding-right: 16px; }
  .topbar h1 { font-size: 20px; }
}
@media (max-width: 575.98px) {
  .topbar-actions .btn:first-child { display: none; }
  .content { padding-top: 18px; }
  .stat-value { font-size: 23px; }
}
