/* ============================================================
   IKA MM USU - Main Stylesheet
   Brand: Green #1B6B3A + Yellow #FFD700
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ============================================================
   CSS VARIABLES (Brand Tokens)
   ============================================================ */
:root {
  /* Primary Green */
  --primary-900: #0d3a1e;
  --primary-800: #114d28;
  --primary-700: #156132;
  --primary-600: #1B6B3A;
  --primary-500: #22873e; /* main */
  --primary-400: #2ea54f;
  --primary-300: #4fc568;
  --primary-200: #a5e4b1;
  --primary-100: #d1f3d8;
  --primary-50:  #edfaf0;

  /* Gold / Yellow */
  --gold-600:    #c9a800;
  --gold-500:    #FFD700;  /* main */
  --gold-400:    #ffe033;
  --gold-300:    #ffea70;
  --gold-100:    #fff9d6;

  /* Neutrals */
  --gray-900:  #111827;
  --gray-800:  #1f2937;
  --gray-700:  #374151;
  --gray-600:  #4b5563;
  --gray-500:  #6b7280;
  --gray-400:  #9ca3af;
  --gray-300:  #d1d5db;
  --gray-200:  #e5e7eb;
  --gray-100:  #f3f4f6;
  --gray-50:   #f9fafb;

  /* Semantic */
  --success:   #10b981;
  --warning:   #f59e0b;
  --danger:    #ef4444;
  --info:      #3b82f6;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;

  /* Spacing */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.16);
  --shadow-green: 0 8px 32px rgba(27,107,58,.22);
  --shadow-gold:  0 8px 32px rgba(255,215,0,.25);

  /* Transitions */
  --transition: all .25s cubic-bezier(.4,0,.2,1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary-600); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-500); }

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

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-600), var(--gold-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar-ika {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 0;
}

.navbar-ika.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar-ika .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 24px;
}

.navbar-brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.navbar-logo {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  object-fit: contain;
  background: var(--primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  text-align: center;
  line-height: 1;
  padding: 4px;
}

.navbar-brand-text {
  line-height: 1.2;
}

.navbar-brand-text .org-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-700);
  letter-spacing: .3px;
}

.navbar-brand-text .org-sub {
  font-size: 11px;
  color: var(--gray-500);
  font-weight: 400;
}

.navbar-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-link-ika {
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
}

.nav-link-ika:hover, .nav-link-ika.active {
  color: var(--primary-600);
  background: var(--primary-50);
}

.nav-link-ika.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  background: var(--primary-500);
  border-radius: var(--radius-full);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-600);
  color: #fff;
  box-shadow: 0 4px 14px rgba(27,107,58,.3);
}
.btn-primary:hover {
  background: var(--primary-700);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(27,107,58,.4);
  color: #fff;
}

.btn-gold {
  background: var(--gold-500);
  color: var(--gray-900);
  box-shadow: 0 4px 14px rgba(255,215,0,.35);
}
.btn-gold:hover {
  background: var(--gold-400);
  transform: translateY(-1px);
  color: var(--gray-900);
}

.btn-outline {
  background: transparent;
  color: var(--primary-600);
  border: 2px solid var(--primary-200);
}
.btn-outline:hover {
  background: var(--primary-50);
  border-color: var(--primary-400);
  color: var(--primary-700);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.4);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.7);
  color: #fff;
}

.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: var(--radius-lg); }
.btn-xl { padding: 18px 36px; font-size: 17px; border-radius: var(--radius-lg); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  background: linear-gradient(135deg, var(--primary-800) 0%, var(--primary-600) 60%, #1a7a44 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(255,215,0,.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.05) 0%, transparent 40%);
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: #fff;
  clip-path: ellipse(60% 100% at 50% 100%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,215,0,.15);
  border: 1px solid rgba(255,215,0,.3);
  color: var(--gold-400);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: .5px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-title .highlight {
  color: var(--gold-500);
  position: relative;
}

.hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,.82);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-item .stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-500);
  line-height: 1;
}

.stat-item .stat-label {
  font-size: 13px;
  color: rgba(255,255,255,.72);
  margin-top: 4px;
  font-weight: 400;
}

.hero-image-wrap {
  position: relative;
}

.hero-card-float {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-xl);
  padding: 20px 24px;
  position: absolute;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ============================================================
   SECTION STYLES
   ============================================================ */
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 100px 0; }

.section-header { text-align: center; margin-bottom: 56px; }

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-50);
  color: var(--primary-600);
  border: 1px solid var(--primary-200);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 14px;
}

.section-desc {
  color: var(--gray-500);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   CARDS
   ============================================================ */
.card-ika {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
}
.card-ika:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-200);
}

/* Alumni Card */
.alumni-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.alumni-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-200);
  background: linear-gradient(135deg, var(--primary-200), var(--gold-300));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-700);
  flex-shrink: 0;
}

.alumni-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0;
}

.alumni-role {
  font-size: 13px;
  color: var(--gray-500);
  margin: 0;
}

.alumni-company {
  font-size: 13px;
  color: var(--primary-600);
  font-weight: 600;
  margin: 0;
}

.alumni-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

/* Event Card */
.event-card { overflow: hidden; }

.event-thumbnail {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--primary-700), var(--primary-400));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  font-size: 48px;
}

.event-body { padding: 20px; }

.event-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-50);
  color: var(--primary-700);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}

.event-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
  line-height: 1.4;
}

.event-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-600);
}

.event-price.free {
  color: var(--success);
}

/* News Card */
.news-card .news-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--gray-200), var(--gray-100));
}

.news-body { padding: 20px; }

.news-cat-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--primary-600);
  background: var(--primary-50);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 10px;
}

.news-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-meta {
  font-size: 12px;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Job Card */
.job-card { padding: 20px 24px; }

.job-company-logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  border: 1px solid var(--gray-200);
}

.job-title { font-size: 15px; font-weight: 700; color: var(--gray-900); margin: 0; }
.job-company { font-size: 13px; color: var(--gray-500); margin: 0; }
.job-location { font-size: 12px; color: var(--gray-400); }

.job-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* ============================================================
   BADGES / TAGS
   ============================================================ */
.badge-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
}

.badge-green { background: var(--primary-50); color: var(--primary-700); border: 1px solid var(--primary-200); }
.badge-gold  { background: var(--gold-100); color: var(--gold-600); border: 1px solid var(--gold-300); }
.badge-gray  { background: var(--gray-100); color: var(--gray-600); border: 1px solid var(--gray-200); }
.badge-blue  { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.badge-red   { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.badge-orange{ background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }

/* Status badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
}
.status-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}
.status-active  { background: #ecfdf5; color: #059669; }
.status-active::before  { background: #059669; }
.status-pending { background: #fffbeb; color: #d97706; }
.status-pending::before { background: #d97706; }
.status-rejected{ background: #fef2f2; color: #dc2626; }
.status-rejected::before{ background: #dc2626; }

/* ============================================================
   FORMS
   ============================================================ */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 7px;
}
.form-label .required { color: var(--danger); margin-left: 3px; }

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--gray-800);
  background: #fff;
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary-400);
  box-shadow: 0 0 0 3px rgba(27,107,58,.1);
}

.form-control::placeholder { color: var(--gray-400); }

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 36px;
}

.form-hint { font-size: 12px; color: var(--gray-400); margin-top: 5px; }
.form-error { font-size: 12px; color: var(--danger); margin-top: 5px; font-weight: 500; }

/* ============================================================
   ALERT / FLASH MESSAGES
   ============================================================ */
.alert-ika {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  border-left: 4px solid;
}

.alert-success { background: #ecfdf5; color: #065f46; border-color: var(--success); }
.alert-error   { background: #fef2f2; color: #991b1b; border-color: var(--danger); }
.alert-warning { background: #fffbeb; color: #92400e; border-color: var(--warning); }
.alert-info    { background: #eff6ff; color: #1e40af; border-color: var(--info); }

/* ============================================================
   KTA DIGITAL
   ============================================================ */
.kta-card {
  width: 340px;
  min-height: 210px;
  background: linear-gradient(135deg, var(--primary-800) 0%, var(--primary-600) 100%);
  border-radius: var(--radius-xl);
  padding: 28px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-green);
}

.kta-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255,215,0,.1);
}

.kta-card::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -30px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
}

.kta-org-name {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-400);
  margin-bottom: 4px;
}

.kta-type {
  font-size: 13px;
  color: rgba(255,255,255,.7);
  margin-bottom: 16px;
}

.kta-name { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.kta-angkatan { font-size: 12px; color: rgba(255,255,255,.7); margin-bottom: 2px; }
.kta-konsentrasi { font-size: 12px; color: rgba(255,255,255,.7); margin-bottom: 16px; }

.kta-number {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-400);
  letter-spacing: 1px;
}

.kta-qr {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: #fff;
  padding: 6px;
  border-radius: var(--radius-md);
  width: 72px;
  height: 72px;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb-ika {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: 14px 0;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
}

.breadcrumb-list li { display: flex; align-items: center; gap: 8px; }
.breadcrumb-list li:not(:last-child)::after {
  content: '/';
  color: var(--gray-300);
}
.breadcrumb-list a { color: var(--gray-500); }
.breadcrumb-list a:hover { color: var(--primary-600); }
.breadcrumb-list .active { color: var(--gray-800); font-weight: 600; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination-ika {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.pagination-ika a, .pagination-ika span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  border: 1.5px solid var(--gray-200);
  color: var(--gray-600);
}

.pagination-ika a:hover { background: var(--primary-50); border-color: var(--primary-300); color: var(--primary-600); }
.pagination-ika .current { background: var(--primary-600); color: #fff; border-color: var(--primary-600); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer-main {
  background: var(--primary-900);
  color: rgba(255,255,255,.75);
  padding: 64px 0 0;
}

.footer-brand .org-name-footer {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.footer-brand .org-desc {
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: rgba(255,255,255,.6);
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: 15px;
  transition: var(--transition);
}
.social-btn:hover {
  background: var(--primary-500);
  color: #fff;
  transform: translateY(-2px);
}

.footer-heading {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-400);
  margin-bottom: 18px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
}
.footer-links a:hover { color: #fff; padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 48px;
  padding: 20px 0;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255,255,255,.45);
}

/* ============================================================
   FILTER BAR
   ============================================================ */
.filter-bar {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 20px 24px;
  margin-bottom: 32px;
}

.filter-row {
  display: grid;
  grid-template-columns: 1fr repeat(auto-fill, minmax(160px, 1fr)) auto;
  gap: 12px;
  align-items: end;
}

/* ============================================================
   ADMIN SIDEBAR & LAYOUT
   ============================================================ */
.admin-wrapper {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 260px;
  background: var(--gray-900);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  transition: var(--transition);
  overflow-y: auto;
}

.admin-sidebar-header {
  padding: 22px 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.admin-brand-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.admin-brand-sub {
  font-size: 11px;
  color: rgba(255,255,255,.4);
  font-weight: 400;
}

.sidebar-menu { padding: 16px 12px; flex: 1; }

.sidebar-section-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255,255,255,.3);
  padding: 16px 8px 8px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  color: rgba(255,255,255,.65);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  margin-bottom: 2px;
  cursor: pointer;
  text-decoration: none;
}

.sidebar-item:hover {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.9);
}

.sidebar-item.active {
  background: var(--primary-600);
  color: #fff;
  font-weight: 600;
}

.sidebar-item .sidebar-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}

.sidebar-badge {
  margin-left: auto;
  background: var(--danger);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  min-width: 20px;
  text-align: center;
}

.admin-main {
  flex: 1;
  margin-left: 260px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.admin-topbar {
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
  padding: 0 28px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}

.admin-page-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
}

.admin-content { padding: 28px; flex: 1; }

/* Admin Stats Cards */
.stat-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.stat-icon-green { background: var(--primary-50); color: var(--primary-600); }
.stat-icon-gold  { background: var(--gold-100); color: var(--gold-600); }
.stat-icon-blue  { background: #eff6ff; color: #2563eb; }
.stat-icon-red   { background: #fef2f2; color: var(--danger); }
.stat-icon-purple{ background: #faf5ff; color: #7c3aed; }

.stat-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1;
  display: block;
}

.stat-label { font-size: 13px; color: var(--gray-500); margin-top: 4px; }

.stat-change {
  font-size: 12px;
  font-weight: 600;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.stat-change.up   { color: var(--success); }
.stat-change.down { color: var(--danger); }

/* Admin Table */
.admin-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.admin-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--gray-500);
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.admin-table th:first-child { border-radius: var(--radius-md) 0 0 0; }
.admin-table th:last-child  { border-radius: 0 var(--radius-md) 0 0; }

.admin-table td {
  padding: 14px 16px;
  font-size: 14px;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  vertical-align: middle;
}

.admin-table tr:hover td { background: var(--gray-50); }
.admin-table tr:last-child td { border-bottom: none; }

/* Admin Card Container */
.admin-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.admin-card-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
}

.admin-card-body { padding: 22px; }

/* ============================================================
   TICKET / QR
   ============================================================ */
.ticket-card {
  background: #fff;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  max-width: 420px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

.ticket-header {
  background: linear-gradient(135deg, var(--primary-700), var(--primary-500));
  padding: 28px;
  color: #fff;
  text-align: center;
}

.ticket-event-name { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.ticket-event-date { font-size: 14px; color: rgba(255,255,255,.8); }

.ticket-divider {
  display: flex;
  align-items: center;
  position: relative;
  background: #fff;
}
.ticket-divider::before, .ticket-divider::after {
  content: '';
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gray-100);
  border: 2px solid var(--gray-200);
  flex-shrink: 0;
}
.ticket-divider .divider-line {
  flex: 1;
  border-top: 2px dashed var(--gray-300);
}

.ticket-body { padding: 24px; }
.ticket-qr-wrap { display: flex; justify-content: center; margin: 20px 0; }
.ticket-qr-img { width: 140px; height: 140px; border: 4px solid var(--gray-100); border-radius: var(--radius-md); }
.ticket-code { text-align: center; font-family: 'Courier New', monospace; font-size: 15px; font-weight: 700; color: var(--primary-700); letter-spacing: 2px; }

/* ============================================================
   HERO SEARCH
   ============================================================ */
.hero-search {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-xl);
  padding: 8px;
  display: flex;
  gap: 8px;
  max-width: 520px;
  margin-top: 28px;
}

.hero-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 8px 14px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 15px;
}

.hero-search input::placeholder { color: rgba(255,255,255,.6); }

.hero-search .btn { flex-shrink: 0; }

/* ============================================================
   PROGRESS BAR
   ============================================================ */
.progress-bar-wrap { background: var(--gray-200); border-radius: var(--radius-full); height: 8px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: var(--radius-full); background: linear-gradient(90deg, var(--primary-500), var(--gold-500)); transition: width .6s ease; }

/* ============================================================
   LOADING SKELETON
   ============================================================ */
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton {
  background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
}

@media (max-width: 991.98px) {
  .navbar-nav-links { display: none; }
}

@media (max-width: 768px) {
  .hero-section { padding: 72px 0 60px; min-height: auto; }
  .hero-title { font-size: 1.8rem; }
  .section { padding: 60px 0; }
  .navbar-nav-links { display: none; }
  .filter-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .kta-card { width: 100%; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.5rem; }
  .admin-content { padding: 16px; }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-primary { color: var(--primary-600) !important; }
.text-gold    { color: var(--gold-600) !important; }
.text-muted   { color: var(--gray-500) !important; }
.text-success { color: var(--success) !important; }
.text-danger  { color: var(--danger) !important; }

.bg-primary-soft { background: var(--primary-50); }
.bg-gold-soft    { background: var(--gold-100); }

.rounded-xl  { border-radius: var(--radius-xl); }
.rounded-full{ border-radius: var(--radius-full); }

.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }

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

.divider {
  height: 1px;
  background: var(--gray-200);
  margin: 24px 0;
}

/* Animate on scroll */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
  animation: fadeInUp .6s ease forwards;
}

.animate-delay-1 { animation-delay: .1s; }
.animate-delay-2 { animation-delay: .2s; }
.animate-delay-3 { animation-delay: .3s; }
.animate-delay-4 { animation-delay: .4s; }
