/* ═══════════════════════════════════════════════════════════════
   AXIONIX ADMIN UI v4.0 — Ultra-Modern Premium Korean Photobooth
   Glassmorphism, Vibrant Accents, Interactive Stats & Responsive Layout
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. ADMIN PAGE BASE ─────────────────────────────────────── */

.admin-page {
  width: 100%;
  min-height: 100vh;
  background: var(--bg-page, #FDF8F5);
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary, #2D2438);
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* ── 2. KOREAN PASTEL ADMIN LOGIN PAGE ──────────────────────── */

.korean-login-page {
  width: 100vw;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 0%, #FFF0F6 0%, #FFEBF3 40%, #FDF8F5 100%);
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 40px 20px;
  font-family: 'Nunito', 'Plus Jakarta Sans', sans-serif;
}

.korean-bg-skyline {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 240px;
  background: radial-gradient(circle at 50% 100%, rgba(255, 111, 174, 0.2) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.korean-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.7) 0%, rgba(255, 210, 230, 0.25) 50%, transparent 75%);
  pointer-events: none;
  z-index: 1;
}

/* Floating Animations */
@keyframes floatRotate {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(3deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.85; }
}

.sparkle-item {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  animation: floatRotate 4s ease-in-out infinite alternate;
}
.sparkle-item.s1 { top: 12%; left: 15%; font-size: 26px; }
.sparkle-item.s2 { top: 20%; right: 22%; font-size: 22px; }
.sparkle-item.s3 { bottom: 25%; left: 8%; font-size: 24px; }
.sparkle-item.s4 { bottom: 15%; right: 10%; font-size: 28px; }

.cloud-item {
  position: absolute;
  font-size: 52px;
  opacity: 0.75;
  pointer-events: none;
  z-index: 2;
}
.cloud-item.c1 { top: 8%; right: 12%; animation: floatRotate 6s ease-in-out infinite alternate; }
.cloud-item.c2 { bottom: 20%; left: 6%; animation: floatRotate 7s ease-in-out infinite alternate-reverse; }

.heart-item {
  position: absolute;
  font-size: 24px;
  pointer-events: none;
  z-index: 2;
  animation: floatRotate 3s ease-in-out infinite alternate;
}
.heart-item.h1 { top: 18%; right: 28%; }
.heart-item.h2 { bottom: 30%; left: 12%; }

.background-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
}

.top-left-decoration { position: absolute; top: 0; left: 0; }
.decor-cherry-tree { width: 280px; height: auto; filter: drop-shadow(0 6px 14px rgba(255, 111, 174, 0.25)); }

.speech-bubble-left {
  position: absolute;
  top: 140px;
  left: 120px;
  background: #FFFFFF;
  border: 2px dashed #FF9ECA;
  border-radius: 24px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 800;
  color: #FF3385;
  box-shadow: 0 10px 24px rgba(255, 111, 174, 0.18);
  transform: rotate(-4deg);
  animation: floatRotate 3.5s ease-in-out infinite alternate;
}

.bottom-left-decoration { position: absolute; bottom: 40px; left: 40px; }
.photo-strip-wrapper {
  position: relative;
  display: flex;
  gap: -20px;
  transform: rotate(-6deg);
  transition: transform 0.3s ease;
}
.decor-photostrip { height: 280px; width: auto; filter: drop-shadow(0 12px 24px rgba(255, 100, 160, 0.2)); }
.decor-polaroid { height: 220px; width: auto; margin-left: -30px; margin-top: 40px; transform: rotate(12deg); filter: drop-shadow(0 10px 20px rgba(255, 100, 160, 0.18)); }

.bottom-right-decoration { position: absolute; bottom: 30px; right: 40px; display: flex; align-items: flex-end; }
.decor-photobooth-booth { height: 500px; width: auto; filter: drop-shadow(0 16px 32px rgba(255, 100, 160, 0.22)); }
.bunny-wrapper { position: absolute; bottom: -10px; right: -20px; z-index: 3; display: flex; align-items: flex-end; }
.decor-bunny { height: 170px; width: auto; filter: drop-shadow(0 10px 20px rgba(255, 100, 160, 0.2)); animation: floatRotate 4s ease-in-out infinite alternate; }
.decor-bear-duck { height: 110px; width: auto; margin-left: -20px; filter: drop-shadow(0 8px 16px rgba(255, 100, 160, 0.15)); }

/* Glass Login Card */
.admin-login-container {
  width: 100%;
  max-width: 480px;
  position: relative;
  z-index: 10;
  margin: 0 auto;
}

.glass-login-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px);
  border: 2px solid #FFD6E5;
  border-radius: 36px;
  padding: 44px 38px 36px 38px;
  box-shadow: 0 28px 60px rgba(255, 111, 174, 0.22), 0 8px 24px rgba(255, 180, 205, 0.15);
  position: relative;
}

.login-brand { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 20px; }
.camera-icon-badge {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #FFF0F6 0%, #FFE4F0 100%);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #FFC2DC;
  box-shadow: 0 6px 16px rgba(255, 111, 174, 0.15);
}
.brand-camera-svg { width: 38px; height: 38px; object-fit: contain; }
.brand-text-group { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.brand-name-top { font-size: 17px; font-weight: 900; color: #FF3385; letter-spacing: 0.5px; }
.brand-name-bottom { font-size: 14px; font-weight: 800; color: #9B6BBB; letter-spacing: 0.5px; }

.admin-login-title {
  font-size: 32px;
  font-weight: 900;
  color: #3D2C44;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.title-star { font-size: 26px; }

.login-subtitle-banner {
  display: inline-block;
  background: #FFF0F5;
  border: 1px solid #FFC2DC;
  border-radius: 20px;
  padding: 8px 22px;
  margin-bottom: 24px;
}
.admin-login-subtitle { font-size: 13px; font-weight: 800; color: #FF3385; margin: 0; }

.input-label { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: #4A3A54; margin-bottom: 8px; }
.input-field-relative { position: relative; display: flex; align-items: center; }
.input-icon-left { position: absolute; left: 18px; font-size: 16px; pointer-events: none; z-index: 2; }
.input-icon-right { position: absolute; right: 18px; font-size: 16px; z-index: 2; color: #FF6FAE; cursor: pointer; }

.pill-input {
  width: 100%;
  height: 54px;
  border-radius: 27px !important;
  border: 1.5px solid #FFC9DD !important;
  background: #FFFFFF !important;
  padding: 0 46px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #3D2C44 !important;
  transition: all 0.25s ease !important;
}
.pill-input:focus {
  border-color: #FF3385 !important;
  box-shadow: 0 0 0 4px rgba(255, 51, 133, 0.18) !important;
  outline: none !important;
}

.korean-btn-primary {
  width: 100%;
  height: 56px;
  border-radius: 28px !important;
  background: linear-gradient(135deg, #FF6FAE 0%, #FF2E7E 100%) !important;
  border: none !important;
  color: #FFFFFF !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  box-shadow: 0 12px 26px rgba(255, 46, 126, 0.35) !important;
  cursor: pointer;
  transition: all 0.25s ease !important;
}
.korean-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(255, 46, 126, 0.45) !important;
}

.korean-btn-secondary {
  width: 100%;
  height: 52px;
  border-radius: 26px !important;
  background: #FFFFFF !important;
  border: 1.5px solid #E8DEF0 !important;
  color: #7C6895 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  cursor: pointer;
  transition: all 0.25s ease !important;
  position: relative;
}
.korean-btn-secondary:hover {
  background: #FAF7FC !important;
  border-color: #D6C4EA !important;
  color: #5C4676 !important;
}

.ribbon-divider { position: relative; margin: 28px 0 20px 0; display: flex; align-items: center; justify-content: center; }
.dotted-line { position: absolute; inset: 50% 0 auto 0; border-top: 2px dotted #FFC9DD; z-index: 1; }
.ribbon-center-badge { position: relative; z-index: 2; background: #FFF0F5; border: 1px solid #FFD1E3; padding: 4px 14px; border-radius: 12px; font-size: 13px; font-weight: 700; }

.support-link { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #FF3385; text-decoration: none; transition: color 0.2s ease; }
.support-link:hover { color: #D81B60; text-decoration: underline; }

@media (max-width: 1024px) {
  .background-decoration { display: none; }
}

/* ── 3. ADMIN DASHBOARD LAYOUT ──────────────────────────────── */

:root {
  --admin-sidebar-w: 260px;
  --admin-topbar-h: 72px;
}

.admin-layout {
  display: flex;
  min-height: 100vh;
  background: #F8F5FB;
}

/* Sleek Dark & Glowing Sidebar */
.admin-sidebar {
  width: var(--admin-sidebar-w);
  height: 100vh;
  background: #0E0B16;
  color: #F1EEF8;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.25);
}

.admin-sidebar-header {
  padding: 22px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.admin-sidebar-logo {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #FF6FAE 0%, #9061F9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(255, 111, 174, 0.35);
  color: #FFFFFF;
}

.admin-sidebar-title-group {
  display: flex;
  flex-direction: column;
}

.admin-sidebar-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.2px;
  line-height: 1.2;
}

.admin-sidebar-subtitle {
  font-size: 11px;
  font-weight: 700;
  color: #9061F9;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.admin-sidebar-nav {
  flex: 1;
  padding: 20px 14px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-sidebar-section-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #6C6382;
  margin: 16px 12px 6px 12px;
}

.admin-sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: #A39BB5;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  position: relative;
}

.admin-sidebar-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  transform: translateX(3px);
}

.admin-sidebar-item.active {
  background: linear-gradient(135deg, #FF6FAE 0%, #FF2E7E 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(255, 46, 126, 0.35);
  font-weight: 800;
}

.admin-sidebar-item svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  opacity: 0.85;
  transition: transform 0.2s ease;
}

.admin-sidebar-item:hover svg {
  transform: scale(1.1);
  opacity: 1;
}

.admin-sidebar-item.active svg {
  opacity: 1;
  transform: scale(1.05);
}

.admin-sidebar-badge {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 10px;
}

.admin-sidebar-footer {
  padding: 16px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.2);
}

.admin-sidebar-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  margin-bottom: 12px;
}

.admin-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, #A78BFA 0%, #7C3AED 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  position: relative;
  flex-shrink: 0;
}

.admin-user-avatar::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  background: #34D399;
  border: 2px solid #0E0B16;
  border-radius: 50%;
}

.admin-sidebar-user-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.admin-sidebar-user-name {
  font-size: 13px;
  font-weight: 800;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-sidebar-user-role {
  font-size: 11px;
  font-weight: 700;
  color: #A78BFA;
  text-transform: capitalize;
}

.admin-sidebar-item.text-danger {
  color: #FB7185;
}
.admin-sidebar-item.text-danger:hover {
  background: rgba(251, 113, 133, 0.15);
  color: #FF4D6D;
}

/* ── 4. ADMIN MAIN CONTENT AREA ─────────────────────────────── */

.admin-main {
  margin-left: var(--admin-sidebar-w);
  flex: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #F8F5FB;
  transition: margin-left 0.3s ease;
}

/* Glassmorphic Topbar */
.admin-topbar {
  height: var(--admin-topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(229, 218, 235, 0.8);
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 90;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.admin-topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-nav-toggle {
  display: none;
  background: #FFFFFF;
  border: 1px solid #E5DAD4;
  border-radius: 12px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #3D2C44;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.admin-topbar-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #261B2E;
  letter-spacing: -0.3px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-topbar-subtitle {
  font-size: 12px;
  color: #7C6E87;
  font-weight: 600;
  margin-top: 2px;
}

.admin-topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.branch-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F3ECF8;
  border: 1px solid #E2D5ED;
  color: #7C3AED;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 800;
}

.status-dot-pulse {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.admin-content {
  flex: 1;
  padding: 32px;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

/* ── 5. KPI STAT CARDS ──────────────────────────────────────── */

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.admin-stat-card {
  background: #FFFFFF;
  border: 1.5px solid #F0E6F4;
  border-radius: 24px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.04), 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.admin-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: transparent;
  transition: background 0.3s ease;
}

.admin-stat-card:hover {
  box-shadow: 0 18px 40px rgba(124, 58, 237, 0.1), 0 4px 14px rgba(0, 0, 0, 0.04);
  transform: translateY(-4px);
  border-color: #E2D2ED;
}

.admin-stat-card:nth-child(1):hover::before { background: linear-gradient(90deg, #F59E0B, #FBBF24); }
.admin-stat-card:nth-child(2):hover::before { background: linear-gradient(90deg, #10B981, #34D399); }
.admin-stat-card:nth-child(3):hover::before { background: linear-gradient(90deg, #8B5CF6, #A78BFA); }
.admin-stat-card:nth-child(4):hover::before { background: linear-gradient(90deg, #FF3385, #FF6FAE); }

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

.admin-stat-label {
  font-size: 13px;
  color: #6C5C77;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
.admin-stat-icon.yellow { background: #FEF3C7; color: #D97706; }
.admin-stat-icon.green { background: #D1FAE5; color: #059669; }
.admin-stat-icon.purple { background: #EDE9FE; color: #7C3AED; }
.admin-stat-icon.blue { background: #E0F2FE; color: #0284C7; }
.admin-stat-icon.pink { background: #FFE4E6; color: #E11D48; }

.admin-stat-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 32px;
  font-weight: 900;
  color: #261B2E;
  line-height: 1;
  letter-spacing: -0.5px;
}

/* ── 6. CHART & ANALYTICS SECTION ───────────────────────────── */

.chart-section {
  background: #FFFFFF;
  border: 1.5px solid #F0E6F4;
  border-radius: 24px;
  padding: 24px;
  margin-bottom: 28px;
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.04);
}

.chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.chart-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #261B2E;
}

.chart-legend {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  font-weight: 700;
  color: #6C5C77;
}

.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 180px;
  padding-top: 20px;
  border-bottom: 2px dashed #F0E6F4;
}

.chart-bar-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.chart-bar-pair {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 140px;
}

.chart-bar {
  width: 16px;
  border-radius: 8px 8px 0 0;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.chart-bar.revenue {
  background: linear-gradient(to top, #FF3385, #FF6FAE);
}
.chart-bar.sessions {
  background: linear-gradient(to top, #7C3AED, #A78BFA);
}

.chart-bar:hover {
  filter: brightness(1.15);
  transform: scaleY(1.05);
}

.chart-bar-label {
  font-size: 11px;
  font-weight: 700;
  color: #8C7B99;
}

/* ── 7. SECTIONS, ACCORDIONS & TABLES ──────────────────────── */

.admin-section {
  background: #FFFFFF;
  border: 1.5px solid #F0E6F4;
  border-radius: 24px;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.04);
  overflow: hidden;
  transition: all 0.25s ease;
}

.admin-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: #FFFFFF;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s ease;
}

.admin-section-header:hover {
  background: #FAF7FC;
}

.admin-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #261B2E;
}

.admin-section-title svg {
  width: 22px;
  height: 22px;
}

.admin-section-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chevron {
  font-size: 12px;
  color: #9C8CA8;
  transition: transform 0.3s ease;
}
.chevron.open {
  transform: rotate(180deg);
}

.admin-section-body {
  display: none;
  border-top: 1.5px solid #F0E6F4;
}
.admin-section-body.open {
  display: block;
}

.admin-section-inner {
  padding: 24px;
}

/* Filter Strip */
.filter-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  background: #FAF7FC;
  border-bottom: 1.5px solid #F0E6F4;
  flex-wrap: wrap;
}

.filter-btn {
  background: #FFFFFF;
  border: 1.5px solid #E8DEF0;
  color: #6C5C77;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: #A78BFA;
  color: #7C3AED;
}

.filter-btn.active {
  background: #7C3AED;
  border-color: #7C3AED;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}

/* ── 8. SETTINGS & PACKAGE CARDS ────────────────────────────── */

.setting-card {
  background: #FFFFFF;
  border: 1.5px solid #F0E6F4;
  border-radius: 24px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.04);
}

.setting-card-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #261B2E;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.setting-card-title svg {
  width: 22px;
  height: 22px;
  color: #FF3385;
}

.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid #F0E6F4;
}
.setting-row:last-child { border-bottom: none; }

.admin-package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.admin-package-card {
  background: #FFFFFF;
  border: 1.5px solid #F0E6F4;
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.admin-package-card:hover {
  box-shadow: 0 18px 40px rgba(124, 58, 237, 0.12);
  transform: translateY(-4px);
  border-color: #FFC2DC;
}

.admin-package-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #261B2E;
}

.admin-package-price {
  font-size: 26px;
  font-weight: 900;
  color: #FF3385;
}

.admin-package-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-package-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: #554860;
  font-weight: 600;
}

.admin-package-feature svg {
  width: 18px;
  height: 18px;
  color: #10B981;
  flex-shrink: 0;
}

.admin-package-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #F0E6F4;
}

/* ── 9. RESPONSIVE MEDIA QUERIES ────────────────────────────── */

@media (max-width: 1024px) {
  .admin-sidebar {
    transform: translateX(-100%);
  }
  .admin-sidebar.open {
    transform: translateX(0);
  }
  .admin-main {
    margin-left: 0;
  }
  .mobile-nav-toggle {
    display: flex;
  }
  .admin-content {
    padding: 20px 16px;
  }
  .admin-topbar {
    padding: 0 16px;
  }
}

/* Overlay for Mobile Sidebar Drawer */
.sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(14, 11, 22, 0.6);
  backdrop-filter: blur(4px);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.sidebar-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}
