/* =============================================
   Lentera Almamater — Design System CSS
   Portal Mandalotim (mandalotim.sch.id)
   ============================================= */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Surface Colors */
  --surface: #f8faf9;
  --surface-dim: #d8dada;
  --surface-bright: #f8faf9;
  --surface-container-lowest: #ffffff;
  --surface-container-low: #f2f4f3;
  --surface-container: #eceeed;
  --surface-container-high: #e6e9e8;
  --surface-container-highest: #e1e3e2;
  --on-surface: #191c1c;
  --on-surface-variant: #3f4941;
  --inverse-surface: #2e3131;
  --inverse-on-surface: #eff1f0;
  --outline: #6f7a71;
  --outline-variant: #bec9bf;
  --surface-tint: #046d40;

  /* Primary */
  --primary: #00502e;
  --on-primary: #ffffff;
  --primary-container: #006b3f;
  --on-primary-container: #91e9b1;
  --inverse-primary: #81d9a2;

  /* Secondary */
  --secondary: #296767;
  --on-secondary: #ffffff;
  --secondary-container: #b0eeed;
  --on-secondary-container: #306e6d;

  /* Tertiary */
  --tertiary: #735c00;
  --on-tertiary: #ffffff;
  --tertiary-container: #cca72f;
  --on-tertiary-container: #4e3d00;

  /* Error */
  --error: #ba1a1a;
  --on-error: #ffffff;
  --error-container: #ffdad6;
  --on-error-container: #93000a;

  /* Brand */
  --islamic-green: #006B3F;
  --deep-teal: #004D4D;
  --academic-gold: #D4AF37;

  /* Glass */
  --surface-glass: rgba(255, 255, 255, 0.7);
  --surface-glass-strong: rgba(255, 255, 255, 0.85);
  --border-glass: rgba(255, 255, 255, 0.4);
  --border-glass-subtle: rgba(255, 255, 255, 0.3);

  /* Spacing */
  --base: 8px;
  --gutter: 24px;
  --section-gap-mobile: 64px;
  --section-gap-desktop: 120px;
  --container-max: 1280px;

  /* Typography */
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;

  /* Shadows */
  --shadow-glass: 0 8px 32px 0 rgba(0, 77, 77, 0.08);
  --shadow-glass-hover: 0 12px 40px rgba(0, 107, 63, 0.15);
  --shadow-elevated: 0 4px 16px rgba(0, 77, 77, 0.12);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: var(--on-surface);
  background: var(--surface);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--islamic-green);
  color: white;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ---------- Typography ---------- */
.text-display-lg {
  font-size: 56px;
  line-height: 64px;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.text-display-lg-mobile {
  font-size: 36px;
  line-height: 44px;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.text-headline-lg {
  font-size: 32px;
  line-height: 40px;
  font-weight: 600;
}

.text-headline-md {
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
}

.text-body-lg {
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
}

.text-body-md {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

.text-label-md {
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.01em;
  font-weight: 500;
}

.text-label-sm {
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* ---------- Fixed Background ---------- */
.fixed-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: -10;
}

/* ---------- Glass Card ---------- */
.glass-card {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-glass);
  border-radius: 1rem;
}

.glass-card-strong {
  background: var(--surface-glass-strong);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-glass);
  border-radius: 1rem;
}

/* ---------- Hover Lift Effect ---------- */
.hover-lift {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-glass-hover);
}

.hover-lift:active {
  transform: scale(0.98) translateY(2px);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--gutter);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass-subtle);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-header__brand-icon {
  color: var(--islamic-green);
  font-size: 30px;
}

.site-header__brand-text {
  font-size: 24px;
  line-height: 32px;
  font-weight: 800;
  color: var(--islamic-green);
  text-shadow: 
    -1px -1px 1px rgba(255, 255, 255, 0.8),
    1px 1px 2px rgba(0, 0, 0, 0.3);
}

.site-header__nav {
  display: none;
  align-items: center;
  gap: 24px;
}

.site-header__nav-link {
  color: var(--on-surface-variant);
  padding: 4px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-size: 14px;
  font-weight: 500;
}

.site-header__nav-link:hover {
  background: var(--surface-container-high);
}

.site-header__nav-link--active {
  color: var(--islamic-green);
  font-weight: 700;
}

/* ---------- Main Content ---------- */
.main-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 16px var(--section-gap-mobile);
  opacity: 0;
  transition: opacity 1s ease-out;
}

.main-content--visible {
  opacity: 1;
}

/* ---------- Hero Card ---------- */
.hero-card {
  max-width: 672px;
  width: 100%;
  border-radius: 2rem;
  padding: 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-card__glow {
  position: absolute;
  top: -96px;
  left: -96px;
  width: 192px;
  height: 192px;
  background: rgba(0, 107, 63, 0.1);
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
}

.hero-card__logo-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.hero-card__logo-circle {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  padding: 16px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card__logo-circle img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-card__logo-circle .material-symbols-outlined {
  font-size: 48px;
  color: var(--islamic-green);
}

.hero-card__heading {
  color: var(--islamic-green);
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero-card__heading-highlight {
  color: var(--deep-teal);
}

.hero-card__description {
  color: var(--on-surface-variant);
  margin-bottom: 40px;
  max-width: 512px;
  margin-left: auto;
  margin-right: auto;
}

.hero-card__description strong {
  color: var(--islamic-green);
  font-weight: 700;
}

/* ---------- CTA Button ---------- */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--islamic-green);
  color: white;
  padding: 16px 32px;
  border-radius: 9999px;
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-cta:hover {
  background: var(--primary);
  box-shadow: var(--shadow-elevated);
}

.btn-cta:active {
  transform: scale(0.95);
}

.btn-cta .material-symbols-outlined {
  transition: transform 0.3s ease;
}

.btn-cta:hover .material-symbols-outlined {
  transform: translateX(4px);
}

/* ---------- Section Divider ---------- */
.section-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.section-divider__line {
  height: 2px;
  flex-grow: 1;
}

.section-divider__line--left {
  background: linear-gradient(to right, transparent, rgba(0, 107, 63, 0.4));
}

.section-divider__line--right {
  background: linear-gradient(to left, transparent, rgba(0, 107, 63, 0.4));
}

.section-divider__title {
  color: var(--deep-teal);
  padding: 0 24px;
  white-space: nowrap;
}

/* ---------- Links Grid ---------- */
.links-section {
  max-width: var(--container-max);
  width: 100%;
  margin-top: 96px;
}

.links-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 0 var(--gutter);
}

/* ---------- Link Card ---------- */
.link-card {
  padding: 24px;
  border-radius: 1rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.link-card__icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.link-card__icon-wrapper--secondary {
  background: var(--secondary-container);
  color: var(--on-secondary-container);
}

.link-card__icon-wrapper--tertiary {
  background: var(--tertiary-container);
  color: var(--on-tertiary-container);
}

.link-card:hover .link-card__icon-wrapper {
  background: var(--islamic-green);
  color: white;
}

.link-card__icon-wrapper .material-symbols-outlined {
  font-size: 30px;
}

.link-card__title {
  color: var(--islamic-green);
  margin-bottom: 8px;
}

.link-card__description {
  color: var(--on-surface-variant);
}

/* ---------- Placeholder Card ---------- */
.placeholder-card {
  padding: 24px;
  border-radius: 1rem;
  border: 2px dashed var(--outline-variant);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0.6;
}

.placeholder-card .material-symbols-outlined {
  font-size: 30px;
  color: var(--outline);
  margin-bottom: 8px;
}

/* ---------- Footer ---------- */
.site-footer {
  width: 100%;
  max-width: var(--container-max);
  margin: 48px auto 0;
  padding: var(--section-gap-mobile) var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--base);
  text-align: center;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-glass-subtle);
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.site-footer__brand .material-symbols-outlined {
  color: var(--islamic-green);
}

.site-footer__brand-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--islamic-green);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.site-footer__links {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
}

.site-footer__link {
  color: var(--on-surface-variant);
  transition: color 0.2s ease;
  font-size: 14px;
  font-weight: 500;
}

.site-footer__link:hover {
  color: var(--islamic-green);
}

.site-footer__copyright {
  color: var(--on-surface-variant);
  opacity: 0.9;
  font-weight: 500;
  font-size: 14px;
}

/* ---------- Staggered Animation ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }
.animate-delay-6 { animation-delay: 0.6s; }
.animate-delay-7 { animation-delay: 0.7s; }
.animate-delay-8 { animation-delay: 0.8s; }

/* ---------- Material Symbols ---------- */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* =============================================
   Responsive Breakpoints
   ============================================= */

/* Tablet (768px+) */
@media (min-width: 768px) {
  .site-header__nav {
    display: flex;
  }

  .hero-card {
    padding: 48px;
  }

  .hero-card__heading {
    font-size: 56px;
    line-height: 64px;
    letter-spacing: -0.02em;
  }

  .main-content {
    padding: var(--section-gap-desktop) 16px;
  }

  .links-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mobile-nav {
    display: none;
  }

  .site-footer {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-footer__brand {
    margin-bottom: 0;
  }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
  .links-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Mobile bottom padding for nav */
@media (max-width: 767px) {
  .hero-card__heading {
    font-size: 36px;
    line-height: 44px;
    letter-spacing: -0.01em;
  }

  .btn-cta {
    font-size: 16px;
    padding: 14px 28px;
  }
}

/* =============================================
   Admin-Specific Styles
   ============================================= */

/* ---------- Admin Layout ---------- */
.admin-layout {
  display: flex;
  min-height: 100dvh;
}

.admin-sidebar {
  width: 260px;
  background: var(--surface-glass-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid var(--border-glass);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 40;
  transition: transform 0.3s ease;
}

.admin-sidebar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  padding: 0 8px;
}

.admin-sidebar__brand-icon {
  color: var(--islamic-green);
  font-size: 28px;
}

.admin-sidebar__brand-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--islamic-green);
}

.admin-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-grow: 1;
}

.admin-sidebar__nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  color: var(--on-surface-variant);
  transition: all 0.2s ease;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.admin-sidebar__nav-item:hover {
  background: var(--surface-container-high);
}

.admin-sidebar__nav-item--active {
  background: var(--islamic-green);
  color: white;
}

.admin-sidebar__footer {
  padding-top: 16px;
  border-top: 1px solid var(--outline-variant);
}

.admin-main {
  flex-grow: 1;
  margin-left: 260px;
  padding: 32px;
  min-height: 100vh;
}

/* ---------- Admin Cards ---------- */
.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.admin-stat-card {
  padding: 24px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-stat-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary-container);
  color: var(--on-secondary-container);
}

.admin-stat-card__value {
  font-size: 28px;
  font-weight: 700;
  color: var(--islamic-green);
}

.admin-stat-card__label {
  font-size: 14px;
  color: var(--on-surface-variant);
}

/* ---------- Admin Table ---------- */
.admin-table-wrapper {
  overflow-x: auto;
  border-radius: 1rem;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--on-surface-variant);
  border-bottom: 2px solid var(--outline-variant);
}

.admin-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--surface-container-high);
  vertical-align: middle;
}

.admin-table tr:hover td {
  background: var(--surface-container-low);
}

/* ---------- Admin Form ---------- */
.admin-form-group {
  margin-bottom: 20px;
}

.admin-form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--on-surface);
  margin-bottom: 6px;
}

.admin-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--outline-variant);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.5);
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  color: var(--on-surface);
}

.admin-input:focus {
  outline: none;
  border-color: var(--islamic-green);
  box-shadow: 0 0 0 3px rgba(0, 107, 63, 0.1);
}

.admin-input::placeholder {
  color: var(--outline);
}

textarea.admin-input {
  resize: vertical;
  min-height: 80px;
}

select.admin-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236f7a71' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn--primary {
  background: var(--islamic-green);
  color: white;
}

.btn--primary:hover {
  background: var(--primary);
  box-shadow: var(--shadow-elevated);
}

.btn--secondary {
  background: transparent;
  color: var(--deep-teal);
  border: 1.5px solid var(--deep-teal);
}

.btn--secondary:hover {
  background: var(--surface-container-high);
}

.btn--danger {
  background: var(--error);
  color: white;
}

.btn--danger:hover {
  background: #a51515;
}

.btn--sm {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 8px;
}

.btn--icon {
  padding: 8px;
  border-radius: 8px;
}

/* ---------- Toast / Notification ---------- */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-elevated);
  animation: slideInRight 0.3s ease forwards;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 400px;
}

.toast--success {
  background: var(--islamic-green);
  color: white;
}

.toast--error {
  background: var(--error);
  color: white;
}

.toast--info {
  background: var(--deep-teal);
  color: white;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ---------- Modal / Dialog ---------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.2s ease;
}

.modal-content {
  background: white;
  border-radius: 1.5rem;
  padding: 32px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  animation: scaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-content__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.modal-content__title {
  font-size: 24px;
  font-weight: 600;
  color: var(--islamic-green);
}

.modal-content__close {
  padding: 4px;
  border-radius: 8px;
  color: var(--on-surface-variant);
  cursor: pointer;
  transition: background 0.2s;
}

.modal-content__close:hover {
  background: var(--surface-container-high);
}

.modal-content__actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* ---------- Login Page ---------- */
.login-wrapper {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.login-card {
  max-width: 420px;
  width: 100%;
  padding: 40px;
  border-radius: 2rem;
  text-align: center;
}

.login-card__logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--islamic-green);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.login-card__logo .material-symbols-outlined {
  font-size: 36px;
}

.login-card__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--islamic-green);
  margin-bottom: 8px;
}

.login-card__subtitle {
  color: var(--on-surface-variant);
  margin-bottom: 32px;
  font-size: 14px;
}

.login-card .admin-form-group {
  text-align: left;
}

.login-card .btn--primary {
  width: 100%;
  justify-content: center;
  padding: 14px;
  font-size: 16px;
  border-radius: 9999px;
}

/* ---------- Admin Responsive ---------- */
@media (max-width: 767px) {
  .admin-sidebar {
    transform: translateX(-100%);
    width: 280px;
  }

  .admin-sidebar--open {
    transform: translateX(0);
  }

  .admin-main {
    margin-left: 0;
    padding: 16px;
  }

  .admin-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--surface-glass-strong);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    position: sticky;
    top: 0;
    z-index: 30;
  }
}

@media (min-width: 768px) {
  .admin-mobile-header {
    display: none;
  }

  .admin-sidebar-overlay {
    display: none !important;
  }
}

/* ---------- Utility ---------- */
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.text-islamic-green { color: var(--islamic-green); }
.text-on-surface-variant { color: var(--on-surface-variant); }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.mt-4 { margin-top: 16px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.w-full { width: 100%; }
