/* ============================================================
   MAMAMIA 2026 — WORLD-CLASS ROYAL OLYMPIC NEUMORPHISM (SOFT UI)
   Theme: 👑 Royal Platinum Gold (Default) & 💎 Olympic Emerald
   Precision Layout · 3D Soft Bevels · Bento Cards · Responsive
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800;900&family=Baloo+2:wght@600;700;800;900&display=swap');

:root {
  /* ==========================================
     1. LOGO-DERIVED COLOR PALETTE & SOFT UI
     Derived directly from MAMAMIA Official Logo:
     • Coral Salmon Pink (#E76F51 / #D3543A / #F07167)
     • Honey Sunshine Gold (#F4A261 / #E9C46A / #D48806)
     • Deep Navy Indigo (#1D3557 / #264653 / #0F172A)
     • Pastel Mint Teal (#2A9D8F / #48CAE4)
     • Warm Cream Peach Base (#FAF3EF / #FFF8F5)
     ========================================== */
  --neu-bg:            #FAF3EF;
  --neu-surface:       #FAF3EF;
  --neu-shadow-dark:   #D6C8C0;
  --neu-shadow-light:  #FFFFFF;
  --neu-border:        rgba(255, 255, 255, 0.85);
  --neu-border-inset:  rgba(195, 175, 165, 0.55);
  
  --neu-shadow-raised:    8px 8px 18px var(--neu-shadow-dark), -8px -8px 18px var(--neu-shadow-light);
  --neu-shadow-raised-sm: 4px 4px 10px var(--neu-shadow-dark), -4px -4px 10px var(--neu-shadow-light);
  --neu-shadow-inset:     inset 3px 3px 8px var(--neu-shadow-dark), inset -3px -3px 8px var(--neu-shadow-light);
  --neu-shadow-gold:      4px 4px 12px var(--neu-shadow-dark), -4px -4px 12px var(--neu-shadow-light), 0 4px 15px rgba(231, 111, 81, 0.35);
  --neu-shadow-emerald:   4px 4px 12px var(--neu-shadow-dark), -4px -4px 12px var(--neu-shadow-light), 0 4px 15px rgba(42, 157, 143, 0.35);
  --neu-shadow-crimson:   4px 4px 12px var(--neu-shadow-dark), -4px -4px 12px var(--neu-shadow-light), 0 4px 15px rgba(211, 84, 58, 0.35);
  
  --bg-main:           var(--neu-bg);
  --bg-secondary:      var(--neu-surface);
  --bg-card:           var(--neu-surface);
  --bg-card-hover:     var(--neu-surface);
  --bg-input:          var(--neu-surface);
  
  /* Brand Accent Colors (Matching Mother's Hijab & Logo Circular Title) */
  --primary:           #E76F51;
  --primary-dark:      #C84B31;
  --primary-light:     #F07167;
  --primary-hover:     #D3543A;
  --primary-50:        #FFF2EE;
  --primary-100:       #FFE4DC;
  --primary-200:       #FFCBBF;
  --primary-soft:      rgba(231, 111, 81, 0.12);
  
  --rose:              #E76F51;
  --rose-dark:         #C84B31;
  --rose-50:           #FFF2EE;
  --rose-200:          #FFCBBF;

  /* Honey Sunshine Gold (Matching Crayons, Sunlight & Stars) */
  --gold-primary:      #D48806;
  --gold-light:        #F4A261;
  --gold-dark:         #9E6000;
  --gold-gradient:     linear-gradient(135deg, #F4A261 0%, #E76F51 55%, #D3543A 100%);
  --crimson-gradient:  linear-gradient(135deg, #F07167 0%, #E76F51 50%, #C84B31 100%);
  --emerald-gradient:  linear-gradient(135deg, #48CAE4 0%, #2A9D8F 60%, #1D7065 100%);
  --blue-gradient:     linear-gradient(135deg, #48CAE4 0%, #1D3557 100%);
  --violet-gradient:   linear-gradient(135deg, #9C8EB9 0%, #6D597A 100%);
  
  /* Mint Pastel Teal (Matching Crayon, Leaves & Rainbow) */
  --emerald-primary:   #2A9D8F;
  --emerald-dark:      #1D7065;
  --emerald-light:     #52B788;
  --emerald-50:        #E8F7F5;
  --emerald-200:       #B2E2D8;
  
  --amber-accent:      #F4A261;
  --crimson-accent:    #E76F51;
  --blue-accent:       #1D3557;
  --violet-accent:     #6D597A;
  
  /* Deep Navy (Matching Subtitle & Overalls) */
  --text-primary:      #1D3557;
  --text-secondary:    #455A64;
  --text-muted:        #78909C;
  --text-main:         #1D3557;
  --text-body:         #37474F;
  --text:              #1D3557;
  
  --border-color:      #E4D4CB;
  --border-light:      #C8B6AC;
  --border:            #E4D4CB;
  --border-subtle:     #EFE3DC;
  --border-focus:      #E76F51;
  
  --radius-sm:         8px;
  --radius-md:         14px;
  --radius-lg:         20px;
  --radius-xl:         26px;
  
  --cat-a-bg:          #FFF2EE;
  --cat-a-color:       #C84B31;
  --cat-b-bg:          #E8F7F5;
  --cat-b-color:       #1D7065;
  --cat-c-bg:          #EAF2F8;
  --cat-c-color:       #1D3557;
  
  --danger:            #E63946;
  --danger-soft:       #FDF0F0;
  --danger-border:     #F8C8C8;
  --danger-text:       #C1121F;
  
  --success:           #2A9D8F;
  --success-soft:      #E8F7F5;
  --success-border:    #B2E2D8;
  --success-text:      #1D7065;

  --accent:            #E76F51;
  --accent-hover:      #D3543A;
  --gold:              #D48806;
  --gold-50:           #FFF7ED;
  --gold-border:       #FED7AA;
  --gold-soft:         #FFF7ED;
  --gold-text:         #9A3412;
  --emerald:           #2A9D8F;
  --sky:               #1D3557;
  --violet:            #6D597A;
  --slate-50:          var(--neu-surface);
}

/* ==========================================
   2. ROYAL OLYMPIC EMERALD THEME (MINT VARIATION)
   ========================================== */
[data-theme="emerald"] {
  --neu-bg:            #E8F5F1;
  --neu-surface:       #E8F5F1;
  --neu-shadow-dark:   #C0DBD2;
  --neu-shadow-light:  #FFFFFF;
  --neu-border:        rgba(255, 255, 255, 0.85);
  --neu-border-inset:  rgba(160, 205, 190, 0.55);
  
  --bg-main:           var(--neu-bg);
  --bg-secondary:      var(--neu-surface);
  --bg-card:           var(--neu-surface);
  --bg-input:          var(--neu-surface);
  
  --text-primary:      #1D7065;
  --text-secondary:    #2A9D8F;
  --text-muted:        #52B788;
  --text-main:         #1D7065;
  --text-body:         #264653;
  --text:              #1D7065;
  
  --border-color:      #B2E2D8;
  --border-light:      #80CBC4;
  --border:            #B2E2D8;
  --border-subtle:     #C8EBE4;
  --slate-50:          var(--neu-surface);
}

/* ==========================================
   BASE & RESET
   ========================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: rgba(217, 119, 6, 0.25);
  color: var(--text-primary);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(circle at 12% 8%, rgba(245, 158, 11, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 88% 90%, rgba(200, 16, 46, 0.05) 0%, transparent 45%);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.text-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

.text-crimson {
  background: var(--crimson-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

/* ==========================================
   CONTAINERS & LAYOUT
   ========================================== */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-wide {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-standard {
  max-width: 1240px;
  margin: 1.75rem auto 3.5rem;
  padding: 0 1.5rem;
}

.top-bar {
  height: 5px;
  background: linear-gradient(90deg, #E76F51, #F4A261, #2A9D8F, #1D3557, #E76F51);
  position: relative;
  z-index: 1001;
}

/* ==========================================
   STICKY NEUMORPHIC NAVBAR
   ========================================== */
.navbar, .glass-nav {
  background: var(--neu-surface);
  border-bottom: 1px solid var(--neu-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 15px -3px var(--neu-shadow-dark);
  transition: all 0.3s ease;
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.65rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: contain;
  background: #FFFFFF;
  padding: 2px;
  box-shadow: var(--neu-shadow-raised-sm);
  border: 1px solid var(--neu-border);
}

.nav-brand-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.18rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-pill {
  font-size: 0.7rem;
  background: var(--crimson-gradient);
  color: #FFFFFF;
  padding: 2px 7px;
  border-radius: 9999px;
  font-weight: 800;
}

.nav-brand-sub {
  font-size: 0.7rem;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 1.15rem;
  list-style: none;
  align-items: center;
}

.nav-links a.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.4rem 0.3rem;
  transition: all 0.2s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-links a.nav-link:hover, .nav-links a.nav-link.active {
  color: var(--crimson-accent);
}

.nav-links a.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--crimson-gradient);
  border-radius: 3px;
}

/* Nav Dropdown */
.nav-dd {
  position: relative;
  list-style: none;
}

.nav-dd-toggle {
  cursor: pointer;
  user-select: none;
}

.nav-dd-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 210px;
  background: var(--neu-surface);
  border: 1px solid var(--neu-border);
  box-shadow: var(--neu-shadow-raised);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  display: none;
  list-style: none;
  z-index: 1000;
  backdrop-filter: blur(12px);
  animation: ddFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes ddFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav-dd.open .nav-dd-menu {
  display: flex !important;
  flex-direction: column;
  gap: 3px;
}

.dd-item {
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
  transition: all 0.15s ease;
}

.dd-item i {
  font-size: 0.95rem;
  width: 18px;
  text-align: center;
  color: var(--crimson-accent);
}

.dd-item:hover {
  background: var(--neu-surface);
  box-shadow: var(--neu-shadow-inset);
  color: var(--crimson-accent);
  transform: translateX(3px);
}

/* ==========================================
   SUPER PANEL DEDICATED SUB-NAVIGATION BAR
   ========================================== */
.admin-super-panel-nav {
  background: var(--neu-surface);
  border-bottom: 1px solid var(--neu-border);
  box-shadow: 0 4px 12px -4px var(--neu-shadow-dark);
  position: sticky;
  top: 59px;
  z-index: 990;
  padding: 0.45rem 0;
  transition: all 0.25s ease;
}

.subnav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.subnav-tabs-scroll {
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
  display: flex;
  align-items: center;
}

.subnav-tabs-scroll::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

.subnav-tabs {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.25rem;
  background: var(--neu-surface);
  border: 1px solid var(--neu-border-inset);
  border-radius: 9999px;
  box-shadow: var(--neu-shadow-inset);
  max-width: 100%;
}

.subnav-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.subnav-tab i {
  font-size: 0.85rem;
}

.subnav-tab:hover {
  color: var(--crimson-accent);
  background: rgba(255, 255, 255, 0.5);
}

.subnav-tab.active {
  background: var(--crimson-gradient);
  color: #FFFFFF !important;
  box-shadow: 0 3px 10px rgba(231, 111, 81, 0.35);
  border-color: rgba(255, 255, 255, 0.3);
}

.subnav-tab.active i {
  color: #FFFFFF;
}

.subnav-tab-ghost {
  color: var(--text-secondary);
}

.subnav-tab-display {
  color: var(--blue-accent);
}

.subnav-tab-leaderboard {
  color: var(--gold-primary);
}

.subnav-badge {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 9999px;
  line-height: 1.2;
}

.subnav-badge-coral {
  background: #FFF2EE;
  color: #C84B31;
  border: 1px solid #FFCBBF;
}

.subnav-badge-purple {
  background: #F3E8FF;
  color: #7C3AED;
  border: 1px solid #DDD6FE;
}

.subnav-tab.active .subnav-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.subnav-divider {
  width: 1px;
  height: 18px;
  background: var(--border-color);
  margin: 0 0.15rem;
}

.subnav-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.subnav-role-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: var(--neu-surface);
  border: 1px solid var(--neu-border);
  box-shadow: var(--neu-shadow-raised-sm);
}

.subnav-role-pill.super {
  color: #7C3AED;
  border-color: rgba(124, 58, 237, 0.3);
}

.subnav-role-pill.super i {
  color: #D97706;
}

.subnav-role-pill.admin {
  color: #C8102E;
  border-color: rgba(200, 16, 46, 0.3);
}

.subnav-role-pill.juri {
  color: #059669;
  border-color: rgba(5, 150, 105, 0.3);
}

/* Theme Switcher Widget */
.theme-switch-box {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--neu-surface);
  padding: 0.2rem 0.3rem;
  border-radius: 9999px;
  border: 1px solid var(--neu-border-inset);
  box-shadow: var(--neu-shadow-inset);
}

.theme-switch-btn {
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  min-height: 24px;
  font-size: 0.72rem;
  font-weight: 700;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Outfit', sans-serif;
}

.theme-switch-btn.theme-active-gold {
  background: var(--gold-gradient);
  color: #FFFFFF;
  box-shadow: var(--neu-shadow-gold);
}

.theme-switch-btn.theme-active-emerald {
  background: var(--emerald-gradient);
  color: #FFFFFF;
  box-shadow: var(--neu-shadow-emerald);
}

/* User & Auth Badges */
.nav-user {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.3rem 0.75rem;
  background: var(--neu-surface);
  border: 1px solid var(--neu-border);
  border-radius: 9999px;
  box-shadow: var(--neu-shadow-raised-sm);
}

.nav-user-name {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-primary);
}

.rbadge {
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 6px;
  font-weight: 800;
  text-transform: uppercase;
}
.rbadge.superadmin { background: #7C3AED; color: #FFF; }
.rbadge.admin { background: #C8102E; color: #FFF; }
.rbadge.juri { background: #059669; color: #FFF; }
.rbadge.operator_juri { background: #0284C7; color: #FFF; }

.btn-logout {
  color: #DC2626;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--neu-surface);
  border: 1px solid var(--neu-border);
  box-shadow: var(--neu-shadow-raised-sm);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.btn-logout:hover {
  box-shadow: var(--neu-shadow-inset);
  color: #991B1B;
}

/* ==========================================
   NEUMORPHIC SOFT UI BUTTONS
   ========================================== */
.btn {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.68rem 1.5rem;
  min-height: 44px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-decoration: none;
  background: var(--neu-surface);
  border: 1px solid var(--neu-border);
  box-shadow: var(--neu-shadow-raised-sm);
  color: var(--text-primary);
  outline: none;
  text-align: center;
  position: relative;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 6px 6px 14px var(--neu-shadow-dark), -6px -6px 14px var(--neu-shadow-light);
}

.btn:active, .btn.neu-pressed {
  background: var(--neu-surface) !important;
  box-shadow: var(--neu-shadow-inset) !important;
  border-color: var(--neu-border-inset) !important;
  transform: translateY(2px) scale(0.98) !important;
}

.btn-primary, .btn-rose {
  background: var(--crimson-gradient);
  color: #FFFFFF !important;
  border: none;
  box-shadow: var(--neu-shadow-crimson);
}
.btn-primary:hover, .btn-rose:hover {
  transform: translateY(-2px);
  box-shadow: 6px 6px 16px var(--neu-shadow-dark), -6px -6px 16px var(--neu-shadow-light), 0 4px 18px rgba(200, 16, 46, 0.45);
}

.btn-gold, .btn-amber {
  background: var(--gold-gradient);
  color: #FFFFFF !important;
  border: none;
  box-shadow: var(--neu-shadow-gold);
}

.btn-emerald, .btn-success {
  background: var(--emerald-gradient);
  color: #FFFFFF !important;
  border: none;
  box-shadow: var(--neu-shadow-emerald);
}

.btn-outline, .btn-ghost {
  background: var(--neu-surface);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  box-shadow: var(--neu-shadow-raised-sm);
}

.btn-indigo {
  background: linear-gradient(135deg, #4F46E5 0%, #3730A3 100%);
  color: #FFFFFF !important;
  border: none;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.btn-sm {
  min-height: 34px;
  padding: 0.38rem 0.85rem;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  min-height: 50px;
  padding: 0.85rem 2rem;
  font-size: 1.02rem;
  border-radius: var(--radius-lg);
}

/* ==========================================
   NEUMORPHIC CARDS
   ========================================== */
.card, .glass-card {
  background: var(--neu-surface);
  border: 1px solid var(--neu-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--neu-shadow-raised);
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
  margin-bottom: 1.5rem;
}

.card-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-body {
  padding: 1.5rem;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  padding: 3rem 0 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 991px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--neu-surface);
  border: 1px solid var(--neu-border);
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--crimson-accent);
  box-shadow: var(--neu-shadow-raised-sm);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--crimson-accent);
}

.hero-h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.hero-h1 .grad {
  background: var(--crimson-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 580px;
}

.hero-quote {
  background: var(--neu-surface);
  border: 1px solid var(--neu-border-inset);
  border-left: 4px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.35rem;
  box-shadow: var(--neu-shadow-inset);
  margin-bottom: 1.5rem;
}

.hero-quote-tag {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 3px;
}

.hero-quote-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: 3px;
}

.hero-quote-motto {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.hero-chips {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.hero-chip {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--neu-surface);
  border: 1px solid var(--neu-border);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--neu-shadow-raised-sm);
}

.hero-chip-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--neu-shadow-raised-sm);
  background: var(--neu-surface);
}

.hero-chip-text .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--text-muted);
}

.hero-chip-text strong {
  font-size: 0.92rem;
  color: var(--text-primary);
}

.hero-cta {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* Hero Showcase Card */
.hero-card {
  background: var(--neu-surface);
  border: 1px solid var(--neu-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--neu-shadow-raised);
  overflow: hidden;
}

.hero-card-head {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 60%, #881337 100%);
  color: #FFFFFF;
  padding: 1.65rem;
  text-align: center;
  border-bottom: 3px solid var(--gold-primary);
}

.hero-logo {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #FFFFFF;
  padding: 3px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  margin-bottom: 0.65rem;
  object-fit: contain;
}

.hero-card-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
}

.hero-card-sub {
  font-size: 0.78rem;
  color: #FEF3C7;
  font-weight: 600;
}

.hero-card-body {
  padding: 1.5rem;
}

.countdown {
  background: var(--neu-surface);
  border: 1px solid var(--neu-border-inset);
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: var(--neu-shadow-inset);
  margin-bottom: 1.25rem;
}

.cd-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--gold-primary);
}

.cd-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
}

.cd-boxes {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cd-box {
  background: var(--neu-surface);
  border: 1px solid var(--neu-border);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.6rem;
  text-align: center;
  min-width: 44px;
  box-shadow: var(--neu-shadow-raised-sm);
}

.cd-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--crimson-accent);
  line-height: 1;
}

.cd-unit {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.cd-sep {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--gold-primary);
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.mini-stat {
  background: var(--neu-surface);
  border: 1px solid var(--neu-border);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.45rem;
  text-align: center;
  box-shadow: var(--neu-shadow-raised-sm);
}

.mini-stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1;
}

.mini-stat-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-top: 3px;
  text-transform: uppercase;
}

/* ==========================================
   EVENT INFO STRIP
   ========================================== */
.event-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: var(--neu-surface);
  border: 1px solid var(--neu-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--neu-shadow-raised);
  margin-bottom: 2rem;
}

@media (max-width: 860px) {
  .event-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .event-strip { grid-template-columns: 1fr; }
}

.event-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.event-item-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  background: var(--neu-surface);
  border: 1px solid var(--neu-border);
  box-shadow: var(--neu-shadow-raised-sm);
  color: var(--crimson-accent);
  flex-shrink: 0;
}

.event-item-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--text-muted);
}

.event-item-val {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-primary);
}

/* ==========================================
   REGISTRATION FORM CARD (NEUMORPHIC)
   ========================================== */
.reg-card {
  background: var(--neu-surface);
  border: 1px solid var(--neu-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--neu-shadow-raised);
  overflow: hidden;
  margin-bottom: 3.5rem;
}

.reg-card-head {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 60%, #881337 100%);
  color: #FFFFFF;
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  border-bottom: 3px solid var(--gold-primary);
}

.reg-card-head-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--crimson-gradient);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 15px rgba(200, 16, 46, 0.4);
  flex-shrink: 0;
}

.reg-card-head h2 {
  font-size: 1.35rem;
  font-weight: 900;
  color: #FFFFFF;
  margin: 0;
}

.reg-card-head p {
  font-size: 0.82rem;
  color: #FEF3C7;
  margin-top: 3px;
}

.reg-card-body {
  padding: 2.25rem 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 768px) {
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .reg-card-body { padding: 1.5rem 1.25rem; }
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.form-label .req {
  color: var(--crimson-accent);
  font-weight: 800;
}

.form-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.form-control, .form-select, select, input[type="text"], input[type="number"], input[type="password"], input[type="tel"], textarea {
  width: 100%;
  background: var(--neu-surface);
  border: 1px solid var(--neu-border-inset);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.15rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: var(--text-primary);
  box-shadow: var(--neu-shadow-inset);
  outline: none;
  transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus, select:focus, input:focus, textarea:focus {
  border-color: var(--gold-primary);
  box-shadow: var(--neu-shadow-inset), 0 0 0 3px rgba(217, 119, 6, 0.18);
}

.field-wrap {
  position: relative;
}

.field-wrap .field-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.95rem;
  pointer-events: none;
}

.field-wrap .form-control {
  padding-left: 2.65rem;
}

.reg-form-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.reg-form-note {
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
}

/* ==========================================
   SECTION HEADINGS & DOWNLOAD BANNER
   ========================================== */
.sec-head {
  text-align: center;
  margin-bottom: 2.25rem;
}

.sec-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--neu-surface);
  border: 1px solid var(--neu-border);
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--gold-primary);
  box-shadow: var(--neu-shadow-raised-sm);
  margin-bottom: 0.65rem;
  text-transform: uppercase;
}

.sec-title {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.sec-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.dl-banner {
  background: var(--neu-surface);
  border: 1px solid var(--neu-border);
  border-radius: var(--radius-xl);
  padding: 1.75rem 2rem;
  box-shadow: var(--neu-shadow-raised);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

.dl-banner-icon {
  font-size: 2rem;
}

.dl-banner h3 {
  font-size: 1.15rem;
  font-weight: 900;
  margin-bottom: 2px;
}

.dl-banner p {
  font-size: 0.84rem;
  color: var(--text-secondary);
}

/* ==========================================
   BENTO RULES & JUKNIS GRID
   ========================================== */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .rules-grid { grid-template-columns: 1fr; }
}

.rule-card {
  background: var(--neu-surface);
  border: 1px solid var(--neu-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--neu-shadow-raised);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rule-card:hover {
  transform: translateY(-3px);
  box-shadow: 10px 10px 22px var(--neu-shadow-dark), -10px -10px 22px var(--neu-shadow-light);
}

.rule-card-head {
  padding: 1.15rem 1.4rem;
  background: var(--neu-surface);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rule-card-head h3 {
  font-size: 1.08rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.rule-card-body {
  padding: 1.4rem;
}

.rule-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.86rem;
  color: var(--text-body);
}

.rule-list li {
  position: relative;
  padding-left: 1.25rem;
  line-height: 1.5;
}

.rule-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--crimson-accent);
  font-weight: 900;
  font-size: 1.1rem;
}

/* Concept Grid */
.concept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.concept-box {
  background: var(--neu-surface);
  border: 1px solid var(--neu-border);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  text-align: center;
  box-shadow: var(--neu-shadow-raised-sm);
}

.concept-box.primary { border-top: 3px solid var(--crimson-accent); }
.concept-box.accent { border-top: 3px solid var(--gold-primary); }

.concept-box .clabel {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
}

.concept-box .ctitle {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-top: 2px;
}

.concept-motto {
  background: var(--neu-surface);
  border: 1px solid var(--neu-border-inset);
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--crimson-accent);
  text-align: center;
  box-shadow: var(--neu-shadow-inset);
}

.place-box {
  background: var(--neu-surface);
  border: 1px solid var(--neu-border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  box-shadow: var(--neu-shadow-raised-sm);
}

.place-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
}

.place-date {
  font-size: 0.8rem;
  color: var(--gold-primary);
  font-weight: 700;
  margin-top: 2px;
}

/* Category badges */
.cat-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 0.82rem;
}

.cat-badge.cat-a { background: var(--cat-a-bg); color: var(--cat-a-color); border: 1px solid #FECDD3; }
.cat-badge.cat-b { background: var(--cat-b-bg); color: var(--cat-b-color); border: 1px solid #A7F3D0; }
.cat-badge.cat-c { background: var(--cat-c-bg); color: var(--cat-c-color); border: 1px solid #BAE6FD; }

/* Peran Ibu (Allowed/Forbidden) */
.peran-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 600px) {
  .peran-grid { grid-template-columns: 1fr; }
}

.peran-col {
  background: var(--neu-surface);
  border: 1px solid var(--neu-border);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  box-shadow: var(--neu-shadow-raised-sm);
}

.peran-col.allowed { border-top: 3px solid var(--emerald-primary); }
.peran-col.forbidden { border-top: 3px solid var(--danger); }

.peran-col-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0.65rem;
}

.peran-col-head h4 {
  font-size: 0.88rem;
  font-weight: 800;
  margin: 0;
}

.peran-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-body);
}

.peran-list li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.prinsip-banner {
  background: var(--neu-surface);
  border: 1px solid var(--neu-border-inset);
  padding: 0.75rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--neu-shadow-inset);
  margin-top: 1rem;
}

.prinsip-banner h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--gold-primary);
  font-weight: 800;
}

.prinsip-banner p {
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--crimson-accent);
  margin: 0;
}

/* Criteria Grid */
.crit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.crit-item {
  background: var(--neu-surface);
  border: 1px solid var(--neu-border);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.85rem;
  box-shadow: var(--neu-shadow-raised-sm);
}

.crit-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.crit-head h4 {
  font-size: 0.84rem;
  font-weight: 800;
  margin: 0;
}

.crit-track {
  height: 5px;
  background: var(--neu-border-inset);
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 4px;
}

.crit-fill {
  height: 100%;
  background: var(--crimson-gradient);
  border-radius: 9999px;
}

.crit-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.3;
}

.tiebreaker {
  background: var(--neu-surface);
  border: 1px solid var(--neu-border-inset);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--text-secondary);
  box-shadow: var(--neu-shadow-inset);
}

.tiebreaker ol {
  padding-left: 1.25rem;
  margin-top: 4px;
}

/* Winners & Prizes */
.winners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 600px) {
  .winners-grid { grid-template-columns: 1fr; }
}

.winner-card {
  background: var(--neu-surface);
  border: 1px solid var(--neu-border);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  box-shadow: var(--neu-shadow-raised-sm);
}

.winner-card.wc-gold { border-top: 3px solid var(--gold-primary); }
.winner-card.wc-violet { border-top: 3px solid var(--violet-accent); }

.winner-card-title {
  font-size: 0.84rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0.65rem;
}

.rank-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.rank-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--neu-surface);
  padding: 0.35rem 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.rank-emoji { font-size: 1.1rem; }
.rank-name { font-size: 0.8rem; font-weight: 800; color: var(--text-primary); }
.rank-sub { font-size: 0.68rem; color: var(--text-muted); }
.rank-badge { margin-left: auto; font-size: 0.65rem; }

.pesan-ibu {
  background: var(--neu-surface);
  border: 1px solid var(--neu-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--neu-shadow-raised);
  max-width: 800px;
  margin: 2rem auto 0;
}

.pesan-ibu h3 {
  font-size: 1.25rem;
  color: var(--crimson-accent);
  margin-bottom: 0.65rem;
}

.pesan-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 0.75rem;
}

.pesan-close {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================
   PARTICIPANTS TABLE TOOLBAR & CHIPS
   ========================================== */
.card-strip {
  padding: 1.25rem;
}

.tbl-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.chips {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.chip {
  background: var(--neu-surface);
  border: 1px solid var(--neu-border);
  color: var(--text-secondary);
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--neu-shadow-raised-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  font-family: 'Outfit', sans-serif;
}

.chip:hover, .chip.active {
  background: var(--crimson-gradient);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: var(--neu-shadow-crimson);
}

.tbl-search {
  max-width: 280px;
  width: 100%;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--neu-surface);
}

.tbl {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 650px;
}

.tbl th {
  background: var(--neu-surface);
  padding: 0.85rem 1.15rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  color: var(--text-primary);
  border-bottom: 2px solid var(--border-color);
}

.tbl td {
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.88rem;
  color: var(--text-primary);
}

.tbl tr:hover td {
  background: rgba(217, 119, 6, 0.05);
}

/* ==========================================
   BADGES & PILLS
   ========================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  background: var(--neu-surface);
  box-shadow: var(--neu-shadow-raised-sm);
  border: 1px solid var(--neu-border);
}

.badge-gold, .badge-amber { color: var(--gold-primary); border-color: rgba(217, 119, 6, 0.4); }
.badge-emerald, .badge-success { color: var(--emerald-primary); border-color: rgba(5, 150, 105, 0.4); }
.badge-crimson, .badge-primary, .badge-rose, .badge-danger { color: var(--crimson-accent); border-color: rgba(200, 16, 46, 0.4); }
.badge-info, .badge-sky { color: var(--blue-accent); border-color: rgba(2, 132, 199, 0.4); }
.badge-violet { color: var(--violet-accent); border-color: rgba(124, 58, 237, 0.4); }
/* ==========================================
   BENTO DESIGN SYSTEM & SUPER PANEL CARDS
   ========================================== */
.bento-hero-dark {
  background: linear-gradient(135deg, #1D3557 0%, #0F172A 50%, #264653 100%);
  border-radius: var(--radius-xl);
  padding: 2.2rem 2.4rem;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.45), var(--neu-shadow-raised);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.bento-hero-dark::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(231, 111, 81, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.bento-hero-dark h1 {
  color: #FFFFFF !important;
}

.bento-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.bento-tag-gold {
  background: rgba(244, 162, 97, 0.2);
  color: #F4A261;
  border: 1px solid rgba(244, 162, 97, 0.4);
}

.bento-tag-emerald {
  background: rgba(42, 157, 143, 0.18);
  color: #2A9D8F;
  border: 1px solid rgba(42, 157, 143, 0.35);
}

.bento-tag-sapphire {
  background: rgba(72, 202, 228, 0.18);
  color: #0284C7;
  border: 1px solid rgba(72, 202, 228, 0.35);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.pulse-dot-emerald {
  background: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3);
  animation: pulseEmerald 2s infinite;
}

.pulse-dot-sapphire {
  background: #0284C7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.3);
  animation: pulseSapphire 2s infinite;
}

@keyframes pulseEmerald {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes pulseSapphire {
  0% { box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.6); }
  70% { box-shadow: 0 0 0 6px rgba(2, 132, 199, 0); }
  100% { box-shadow: 0 0 0 0 rgba(2, 132, 199, 0); }
}

/* Bento Grid System */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.bento-col-4 {
  grid-column: span 4;
}

.bento-col-6 {
  grid-column: span 6;
}

.bento-col-12 {
  grid-column: span 12;
}

@media (max-width: 991px) {
  .bento-col-4, .bento-col-6 {
    grid-column: span 12;
  }
}

.bento-box {
  background: var(--neu-surface);
  border: 1px solid var(--neu-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--neu-shadow-raised);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.bento-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -6px var(--neu-shadow-dark);
}

.bento-stat {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  gap: 0.85rem;
}

.bento-stat-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bento-stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.bento-stat-icon-emerald {
  background: #E8F7F5;
  color: #2A9D8F;
  border: 1px solid #B2E2D8;
}

.bento-stat-icon-sapphire {
  background: #E0F2FE;
  color: #0284C7;
  border: 1px solid #BAE6FD;
}

.bento-stat-icon-gold {
  background: #FFF8E7;
  color: #D48806;
  border: 1px solid #FED7AA;
}

.bento-stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.bento-stat-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.bento-stat-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Dual Mode Architecture Cards */
.arch-bento-card {
  background: var(--neu-surface);
  border: 1px solid var(--neu-border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--neu-shadow-raised);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
}

.arch-bento-card-highlight {
  border-color: rgba(2, 132, 199, 0.4);
  background: linear-gradient(180deg, rgba(224, 242, 254, 0.35) 0%, var(--neu-surface) 100%);
}

/* Bento Filter Bar & Buttons */
.bento-filter-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--neu-surface);
  border: 1px solid var(--neu-border-inset);
  padding: 0.25rem;
  border-radius: 9999px;
  box-shadow: var(--neu-shadow-inset);
}

.bento-filter-btn {
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  font-family: 'Outfit', sans-serif;
}

.bento-filter-btn:hover {
  color: var(--crimson-accent);
}

.bento-filter-btn.active {
  background: var(--crimson-gradient);
  color: #FFFFFF !important;
  box-shadow: 0 3px 8px rgba(231, 111, 81, 0.35);
}

/* Bento Table Wrapper & Styling */
.bento-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--neu-surface);
}

.bento-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.bento-table th {
  background: rgba(0, 0, 0, 0.02);
  color: var(--text-secondary);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.85rem 1rem;
  border-bottom: 2px solid var(--border-color);
}

.bento-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.86rem;
  vertical-align: middle;
}

.bento-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.5);
}

.bento-table tbody tr.row-operator {
  background: rgba(2, 132, 199, 0.03);
}

/* Avatar Initials */
.avatar-initial {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  box-shadow: var(--neu-shadow-raised-sm);
  flex-shrink: 0;
}

/* Credential Chips */
.cred-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--neu-surface);
  border: 1px solid var(--neu-border-inset);
  box-shadow: var(--neu-shadow-inset);
  padding: 0.25rem 0.65rem;
  border-radius: 8px;
  font-family: monospace;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-primary);
}

.cred-copy-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px;
  font-size: 0.85rem;
  transition: color 0.15s ease;
}

.cred-copy-btn:hover {
  color: var(--crimson-accent);
}

/* Role Choice Radio Cards in Modals */
.role-choice-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0.9rem;
  border-radius: 14px;
  border: 2px solid var(--border-color);
  background: var(--neu-surface);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.role-choice-card:hover {
  border-color: var(--crimson-accent);
  transform: translateY(-2px);
}

.role-choice-card.selected {
  border-color: var(--crimson-accent);
  background: var(--primary-50);
  box-shadow: 0 4px 12px rgba(231, 111, 81, 0.18);
}

/* ==========================================
   TOAST & MODAL POPUPS
   ========================================== */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 90vw;
}

.toast {
  background: var(--neu-surface);
  border: 1px solid var(--neu-border);
  border-left: 4px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  color: var(--text-primary);
  box-shadow: var(--neu-shadow-raised);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  font-weight: 700;
}

.toast.success { border-left-color: var(--emerald-primary); }
.toast.error { border-left-color: var(--crimson-accent); }

.modal-backdrop, .modal-bg {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-backdrop.show, .modal-backdrop.active, .modal-bg.show, .modal-bg.active {
  display: flex !important;
}

.modal-dialog, .modal-card, .modal-box {
  background: var(--neu-surface);
  border: 1px solid var(--neu-border);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4), var(--neu-shadow-raised);
  max-width: 520px;
  width: 100%;
  overflow: hidden;
  padding: 2rem;
}

.modal-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--emerald-gradient);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1rem;
  box-shadow: var(--neu-shadow-emerald);
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.modal-sub {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.modal-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================
   NEO-FOOTER & BELOKANAN
   ========================================== */
.neo-footer, .footer {
  background: var(--neu-surface);
  border-top: 1px solid var(--neu-border);
  padding: 3.5rem 0 2rem;
  margin-top: 4.5rem;
  text-align: center;
  color: var(--text-secondary);
  box-shadow: 0 -4px 15px -3px var(--neu-shadow-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  text-align: left;
  margin-bottom: 2.25rem;
}

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
}

.belokanan-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--neu-surface);
  border: 1px solid var(--neu-border);
  padding: 0.5rem 1.4rem;
  border-radius: 9999px;
  font-size: 0.84rem;
  color: var(--text-primary);
  box-shadow: var(--neu-shadow-raised-sm);
}

/* Mobile Hamburger & Sheet */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 991px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

.nav-sheet {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
}
.nav-sheet.open { display: block; }
.nav-sheet-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
}
.nav-sheet-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 310px;
  max-width: 85vw;
  background: var(--neu-surface);
  border-left: 1px solid var(--neu-border);
  display: flex;
  flex-direction: column;
  box-shadow: var(--neu-shadow-raised);
}
.nav-sheet-head {
  padding: 1.15rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-sheet-body {
  padding: 1.15rem;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.nav-sheet-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.7rem 0.95rem;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--neu-surface);
  border: 1px solid transparent;
}
.nav-sheet-link:hover, .nav-sheet-link.active {
  box-shadow: var(--neu-shadow-inset);
  border-color: var(--neu-border-inset);
  color: var(--crimson-accent);
}
.nav-sheet-foot {
  padding: 1.15rem;
  border-top: 1px solid var(--border-color);
}
.nav-sheet-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--text-primary);
  cursor: pointer;
}

/* Bottom Nav */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--neu-surface);
  border-top: 1px solid var(--neu-border);
  box-shadow: 0 -4px 16px -2px var(--neu-shadow-dark);
  z-index: 999;
  padding: 0.35rem 0.5rem;
}

@media (max-width: 768px) {
  .bottom-nav { display: block; }
  body { padding-bottom: 68px; }
  .admin-super-panel-nav {
    top: 54px;
    padding: 0.35rem 0;
  }
  .subnav-container {
    padding: 0 0.85rem;
    gap: 0.5rem;
  }
  .subnav-tab {
    padding: 0.35rem 0.65rem;
    font-size: 0.76rem;
    gap: 0.35rem;
  }
  .subnav-role-pill {
    display: none;
  }
}

.bottom-nav-items {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
}

.bottom-nav-item i { font-size: 1.15rem; }
.bottom-nav-item.active, .bottom-nav-item:hover {
  color: var(--crimson-accent);
}

/* ==========================================
   INTERACTIVE WHATSAPP WIDGET & CHAT DRAWER
   ========================================== */
.wa-interactive-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9998;
}

@media (max-width: 768px) {
  .wa-interactive-widget {
    bottom: 80px;
    right: 16px;
  }
}

.wa-floating-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 9999px;
  padding: 0.65rem 1.25rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 25px -4px rgba(37, 211, 102, 0.5), var(--neu-shadow-raised);
  position: relative;
  transition: all 0.25s ease;
}

.wa-floating-btn i {
  font-size: 1.35rem;
}

.wa-floating-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 30px -4px rgba(37, 211, 102, 0.65);
}

.wa-pulse-ring {
  position: absolute;
  inset: -4px;
  border-radius: 9999px;
  border: 2px solid #25D366;
  animation: waPulse 2s infinite;
  pointer-events: none;
}

@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.8; }
  70% { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(1.2); opacity: 0; }
}

.wa-chat-popup {
  position: absolute;
  bottom: calc(100% + 14px);
  right: 0;
  width: 320px;
  max-width: 90vw;
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.35), var(--neu-shadow-raised);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: none;
  flex-direction: column;
  animation: ddFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.wa-chat-popup.active {
  display: flex !important;
}

.wa-popup-header {
  background: linear-gradient(135deg, #075E54 0%, #128C7E 100%);
  color: #FFFFFF;
  padding: 1rem 1.15rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wa-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  position: relative;
}

.wa-online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background: #22C55E;
  border: 2px solid #075E54;
  border-radius: 50%;
}

.wa-name {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
}

.wa-status {
  font-size: 0.72rem;
  color: #E2E8F0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.wa-close-btn {
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 1.35rem;
  cursor: pointer;
  line-height: 1;
}

.wa-popup-body {
  padding: 1.15rem;
  background: #EFEAE2;
  background-image: radial-gradient(circle at 50% 50%, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 16px 16px;
  max-height: 280px;
  overflow-y: auto;
}

.wa-msg-bubble {
  background: #FFFFFF;
  border-radius: 14px 14px 14px 4px;
  padding: 0.75rem 0.9rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
  margin-bottom: 0.75rem;
  position: relative;
}

.wa-msg-time {
  font-size: 0.68rem;
  color: #94A3B8;
  text-align: right;
  margin-top: 4px;
}

.wa-quick-actions {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.wa-quick-btn {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #1E293B;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s ease;
}

.wa-quick-btn:hover {
  background: #DCFCE7;
  border-color: #22C55E;
  color: #15803D;
  transform: translateX(3px);
}

.wa-quick-btn i {
  color: #25D366;
  font-size: 0.85rem;
  width: 14px;
}

.wa-popup-footer {
  padding: 0.75rem 0.9rem;
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
}

/* ═══════════════════════════════════════════════════
   LOGIN PAGE PREMIUM STYLING (login.php)
═══════════════════════════════════════════════════ */
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: linear-gradient(135deg, #FFF9F5 0%, #FFF2ED 50%, #FDEEE8 100%);
  position: relative;
  overflow: hidden;
}

.login-wrap::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(231, 111, 81, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.login-wrap::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.login-card {
  width: 100%;
  max-width: 440px;
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 20px 45px -15px rgba(200, 16, 46, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
  border: 1px solid #FFE4DD;
  overflow: hidden;
  position: relative;
  z-index: 10;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.login-head {
  padding: 2.25rem 2rem 1.25rem;
  text-align: center;
  background: linear-gradient(180deg, #FFF9F7 0%, #FFFFFF 100%);
  border-bottom: 1px solid #F8FAFC;
}

.login-logo {
  width: 105px;
  height: 105px;
  object-fit: contain;
  border-radius: 50%;
  background: #FFFFFF;
  padding: 6px;
  box-shadow: 0 8px 24px rgba(231, 111, 81, 0.15);
  border: 3px solid #FFF0EC;
  margin: 0 auto 1.1rem;
  display: block;
}

.login-logo-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C8102E, #E76F51);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.1rem;
  box-shadow: 0 8px 20px rgba(200, 16, 46, 0.25);
}

.login-head h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  color: #1E293B;
  margin: 0 0 0.35rem;
  line-height: 1.2;
}

.login-head p {
  font-size: 0.86rem;
  color: #64748B;
  margin: 0;
  font-weight: 500;
}

.login-body {
  padding: 1.5rem 2rem 2rem;
}

.login-body .form-group {
  margin-bottom: 1.15rem;
}

.login-body .form-label {
  display: flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 0.4rem;
}

.login-body .field-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.login-body .field-icon {
  position: absolute;
  left: 1rem;
  color: #94A3B8;
  font-size: 0.9rem;
  pointer-events: none;
  transition: color 0.2s;
}

.login-body .field-icon-r {
  position: absolute;
  right: 1rem;
  color: #94A3B8;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
}

.login-body .field-icon-r:hover {
  color: #C8102E;
}

.login-body .form-control {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.65rem;
  border-radius: 12px;
  border: 1.5px solid #E2E8F0;
  background: #F8FAFC;
  font-size: 0.92rem;
  color: #1E293B;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: all 0.2s ease;
}

.login-body .form-control.pad-r {
  padding-right: 2.75rem;
}

.login-body .form-control:focus {
  outline: none;
  border-color: #E76F51;
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(231, 111, 81, 0.15);
}

.login-body .form-control:focus + .field-icon {
  color: #E76F51;
}

.login-foot {
  padding: 1rem 2rem 1.5rem;
  text-align: center;
  background: #FFFDFD;
  border-top: 1px solid #F1F5F9;
  font-size: 0.85rem;
}

.login-foot a {
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s;
}

.login-foot a:hover {
  color: #C8102E !important;
}

/* ═══════════════════════════════════════════════════
   ADMIN DASHBOARD SOFT STATS CARDS & CONTROLLERS
═══════════════════════════════════════════════════ */
.stat-card-soft {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  background: #FFFFFF;
  border: 1px solid #F1F5F9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

.stat-card-soft:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  border-color: #E2E8F0;
}

.stat-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.stat-icon-primary {
  background: #FFF2EE;
  color: #C8102E;
}

.stat-icon-success {
  background: #ECFDF5;
  color: #059669;
}

.stat-icon-warning {
  background: #FFFBEB;
  color: #D97706;
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  color: #1E293B;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.card-header-styled {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1.15rem 1.4rem;
  border-bottom: 1px solid #F1F5F9;
}

.card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: #1E293B;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-subtitle {
  font-size: 0.8rem;
  color: #64748B;
  font-weight: 500;
  display: block;
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════════
   STYLED DATA TABLES (admin/index.php & admin/rekapitulasi.php)
═══════════════════════════════════════════════════ */
.styled-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
}

.styled-table thead th {
  background: #F8FAFC;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.85rem 1rem;
  border-bottom: 2px solid #E2E8F0;
  border-top: 1px solid #F1F5F9;
  white-space: nowrap;
}

.styled-table tbody td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #F1F5F9;
  vertical-align: middle;
  font-size: 0.85rem;
  color: #334155;
  transition: background 0.15s ease;
}

.styled-table tbody tr:hover td {
  background: #FFFDFD;
}

.styled-table tbody tr:last-child td {
  border-bottom: none;
}

/* ═══════════════════════════════════════════════════
   REKAPITULASI & PENENTUAN JUARA COMPONENTS
═══════════════════════════════════════════════════ */
.score-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #475569;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.03);
  font-family: 'Outfit', sans-serif;
}

.score-chip:hover {
  background: #FFF2EE;
  color: #C8102E;
  border-color: #FECDD3;
  transform: translateY(-1px);
}

.score-chip.active {
  background: linear-gradient(135deg, #C8102E 0%, #E76F51 100%);
  color: #FFFFFF !important;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(200, 16, 46, 0.25);
}

.cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.25rem 0.6rem;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
}

.cat-badge.cat-a {
  background: #FFF7ED;
  color: #C2410C;
  border: 1px solid #FFEDD5;
}

.cat-badge.cat-b {
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #D1FAE5;
}

.cat-badge.cat-c {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #DBEAFE;
}

.badge-waiting {
  background: #F1F5F9;
  color: #64748B;
  border: 1px solid #E2E8F0;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
}

.badge-completed {
  background: #ECFDF5;
  color: #059669;
  border: 1px solid #A7F3D0;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
}
