/* ============================================================
   Chrono-Slate Adaptive Design System
   STMIK IKMI Cirebon – Prodi Sistem Informasi
   ============================================================ */

@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&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Colors */
  --bg-dark: #060913;
  --bg-dark-surface: #0a0e1c;
  --bg-dark-glass: rgba(10, 14, 28, 0.75);
  --bg-light: #f8fafc;
  --bg-light-surface: #ffffff;
  --bg-light-glass: rgba(255, 255, 255, 0.85);

  --border-dark: rgba(255, 255, 255, 0.08);
  --border-dark-hover: rgba(255, 255, 255, 0.18);
  --border-light: #e2e8f0;
  --border-light-hover: #cbd5e1;

  --accent-blue: #3b82f6;
  --accent-emerald: #10b981;
  --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
  --accent-glow: rgba(59, 130, 246, 0.25);

  --text-primary-dark: #f8fafc;
  --text-secondary-dark: #94a3b8;
  --text-muted-dark: #64748b;

  --text-primary-light: #0f172a;
  --text-secondary-light: #475569;
  --text-muted-light: #64748b;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Borders & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 30px rgba(59, 130, 246, 0.15);

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-primary-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* === DYNAMIC CANVAS & GRID BACKGROUNDS === */
.bg-grid-glow {
  position: relative;
  background-color: var(--bg-dark);
  color: var(--text-primary-dark);
  overflow: hidden;
}

.bg-grid-glow::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center center;
  pointer-events: none;
  z-index: 1;
}

.bg-grid-glow::after {
  content: '';
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translate(-50%, 0);
  width: 80vw;
  height: 60vh;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, rgba(16, 185, 129, 0.04) 50%, transparent 100%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
  animation: floatBG 8s ease-in-out infinite alternate;
}

@keyframes floatBG {
  0% { transform: translate(-50%, 0) scale(1); }
  100% { transform: translate(-45%, 5%) scale(1.1); }
}

/* === GLASSMORPHISM CARDS === */
.glass-card {
  background: var(--bg-dark-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition-spring);
}

.glass-card:hover {
  border-color: var(--border-dark-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.glass-card-light {
  background: var(--bg-light-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-spring);
}

.glass-card-light:hover {
  border-color: var(--border-light-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* === INTERACTIVE SVG LOGO === */
.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.dynamic-logo-svg {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 2px 8px rgba(59, 130, 246, 0.25));
  transition: var(--transition-spring);
}

.logo-container:hover .dynamic-logo-svg {
  transform: rotate(-10deg) scale(1.1);
  filter: drop-shadow(0 4px 14px rgba(59, 130, 246, 0.45));
}

.pulse-node {
  animation: logoPulse 2s infinite alternate;
}

@keyframes logoPulse {
  0% { r: 1.5; fill-opacity: 0.6; }
  100% { r: 2.5; fill-opacity: 1; fill: #10b981; }
}

/* === PREMIUM BUTTONS === */
.btn-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--accent-gradient);
  border: none;
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-spring);
  position: relative;
  overflow: hidden;
}

.btn-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: 0.6s;
}

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md), 0 0 15px rgba(59, 130, 246, 0.35);
  color: #ffffff;
}

.btn-premium:hover::before {
  transform: translateX(100%);
}

.btn-premium-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 23px;
  background: transparent;
  border: 1.5px solid var(--border-light-hover);
  border-radius: var(--radius-sm);
  color: var(--text-primary-light);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-premium-outline:hover {
  border-color: var(--text-primary-light);
  background: rgba(15, 23, 42, 0.03);
  color: var(--text-primary-light);
}

.btn-premium-dark-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 23px;
  background: rgba(10, 14, 28, 0.7);
  border: 1.5px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-sm);
  color: var(--text-primary-dark);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.12), 0 0 8px rgba(16, 185, 129, 0.08);
}

.btn-premium-dark-outline:hover {
  border-color: rgba(16, 185, 129, 0.6);
  background: rgba(10, 14, 28, 0.9);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.22), 0 0 12px rgba(16, 185, 129, 0.2);
}

/* === NAVBAR === */
.navbar-custom {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 14px 0;
  transition: var(--transition-smooth);
}

.navbar-custom.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: rgba(15, 23, 42, 0.1);
  box-shadow: var(--shadow-sm);
}

.nb-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nb-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nb-link {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary-light);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: var(--transition-smooth);
  position: relative;
}

.nb-link:hover {
  color: var(--text-primary-light);
  background: rgba(15, 23, 42, 0.04);
}

.nb-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nb-link:hover::after {
  transform: scaleX(1);
}

/* === HERO SECTION === */
.hero-custom {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--bg-dark);
  background-image: url('../img/kampus.png');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  color: var(--text-primary-dark);
  overflow: hidden;
  padding: 0;
}

/* Layer 1: Gradient overlay dramatis — lebih gelap di sisi, terang di tengah-bawah */
.hero-custom::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(4, 6, 15, 0.88) 0%,
      rgba(4, 6, 15, 0.70) 45%,
      rgba(4, 6, 15, 0.88) 100%),
    linear-gradient(to right,
      rgba(4, 6, 15, 0.5) 0%,
      transparent 50%,
      rgba(4, 6, 15, 0.5) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Layer 2: Grid pattern halus */
.hero-custom::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 2;
}

/* Glow orbs dekoratif */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  filter: blur(90px);
  animation: orbFloat 10s ease-in-out infinite alternate;
}

.hero-orb--blue {
  width: 600px;
  height: 600px;
  top: -150px;
  left: -100px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, transparent 70%);
  animation-delay: 0s;
}

.hero-orb--green {
  width: 500px;
  height: 500px;
  bottom: -100px;
  right: -80px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  animation-delay: -5s;
}

@keyframes orbFloat {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 30px) scale(1.08); }
}

/* Pastikan konten di atas semua layer */
.hero-custom > .container {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-top: 120px;
  padding-bottom: 0;
}

/* ── Centered hero block ── */
.hero-centered {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  padding-bottom: 60px;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 36px;
  text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.08);
}

.hero-badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981, 0 0 16px rgba(16,185,129,0.5);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 6px #10b981; opacity: 1; }
  50%       { box-shadow: 0 0 14px #10b981, 0 0 28px rgba(16,185,129,0.4); opacity: 0.8; }
}

.hero-badge__tag {
  background: rgba(59,130,246,0.25);
  border: 1px solid rgba(59,130,246,0.35);
  color: #93c5fd;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.06em;
}

/* Headline bertingkat */
.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(42px, 7.5vw, 90px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 28px;
  color: #ffffff;
}

.hero-headline__gradient {
  display: block;
  background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 40%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.05em;
}

.hero-headline__outline {
  display: block;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,0.3);
  font-size: 0.75em;
  letter-spacing: 0.06em;
  font-weight: 800;
}

/* Deskripsi */
.hero-body {
  font-size: clamp(15px, 1.8vw, 18px);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  margin-bottom: 44px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* Tombol CTA */
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 32px rgba(59,130,246,0.4), 0 0 0 0 rgba(59,130,246,0.3);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.hero-cta-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.hero-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(59,130,246,0.5), 0 0 0 4px rgba(59,130,246,0.15);
  color: #ffffff;
}

.hero-cta-primary:hover::before { opacity: 1; }

.hero-cta-primary__arrow {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.hero-cta-primary:hover .hero-cta-primary__arrow {
  transform: translateX(4px);
}

.hero-cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.hero-cta-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Fitur list inline */
.hero-features {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12.5px;
  font-weight: 500;
}

.hero-features span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-features span i {
  color: #10b981;
  font-size: 12px;
}

.hero-features__sep {
  color: rgba(255,255,255,0.2);
  font-size: 16px;
}

/* ── Stats Bar ── */
.hero-statsbar {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.04);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 28px 0;
  flex-wrap: wrap;
}

.hsb-item {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 8px 32px;
  transition: background 0.3s ease;
}

.hsb-item:hover {
  background: rgba(255,255,255,0.04);
}

.hsb-num {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 6px;
}

.hsb-num span {
  background: linear-gradient(135deg, #3b82f6, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hsb-lbl {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.hsb-divider {
  width: 1px;
  background: rgba(255,255,255,0.08);
  align-self: stretch;
  margin: 8px 0;
}


/* === SECTIONS === */
.section-padding {
  padding: 90px 0;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(59, 130, 246, 0.06);
  border: 1px solid rgba(59, 130, 246, 0.12);
  color: var(--accent-blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary-light);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary-light);
  max-width: 560px;
  line-height: 1.7;
}

/* === CARD GRIDS === */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media(max-width: 991px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width: 575px) {
  .svc-grid { grid-template-columns: 1fr; }
}

.svc-card {
  background: var(--bg-light-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-spring);
  position: relative;
  overflow: hidden;
}

.svc-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: transparent;
  transition: var(--transition-smooth);
}

.svc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-light-hover);
}

.svc-card:hover::after {
  background: var(--accent-gradient);
}

.svc-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  background: var(--bg-light);
}

.si-blue {
  background: rgba(59, 130, 246, 0.08) !important;
  color: var(--accent-blue);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.1) inset;
}

.svc-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary-light);
  margin-bottom: 10px;
}

.svc-desc {
  font-size: 13.5px;
  color: var(--text-secondary-light);
  line-height: 1.65;
}

.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-blue);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  margin-top: 18px;
  transition: var(--transition-smooth);
}

.svc-link:hover {
  gap: 10px;
  color: #2563eb;
}

/* === AI SIKA BANNER === */
.ai-banner-custom {
  background: var(--bg-dark-surface);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  gap: 48px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(59, 130, 246, 0.2), 0 0 25px rgba(16, 185, 129, 0.15);
}

.ai-banner-custom::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 50%, rgba(59, 130, 246, 0.18) 0%, rgba(16, 185, 129, 0.05) 60%, transparent 100%);
  pointer-events: none;
}

.ai-banner-icon {
  font-size: 64px;
  flex-shrink: 0;
  animation: float 4s ease-in-out infinite;
}

.ab-title {
  font-size: 30px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.ab-desc {
  color: var(--text-secondary-dark);
  font-size: 14.5px;
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 28px;
}

.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 16px;
}

/* === ACADEMIC TABLE === */
.table-responsive-custom {
  background: var(--bg-light-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.table-custom {
  margin: 0;
  font-size: 13.5px;
  vertical-align: middle;
}

.table-custom th {
  padding: 18px 24px;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--text-secondary-light);
  background: #f8fafc;
  border-bottom: 2px solid var(--border-light);
}

.table-custom td {
  padding: 18px 24px;
  color: var(--text-secondary-light);
  border-bottom: 1px solid var(--border-light);
}

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

.table-custom tbody tr:hover td {
  background: rgba(59, 130, 246, 0.02);
}

/* === VISI MISI GRID === */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: flex-start;
}

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

.vm-box {
  background: var(--bg-light-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 18px;
  transition: var(--transition-smooth);
}

.vm-box:hover {
  border-color: var(--border-light-hover);
  box-shadow: var(--shadow-md);
}

.vm-lbl {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-blue);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.vm-lbl::before {
  content: '';
  width: 4px;
  height: 14px;
  border-radius: 2px;
  background: var(--accent-gradient);
  display: inline-block;
}

.vm-txt {
  font-size: 14px;
  color: var(--text-secondary-light);
  line-height: 1.7;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.stat-box {
  background: var(--bg-light-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  text-align: center;
  transition: var(--transition-spring);
  box-shadow: var(--shadow-sm);
}

.stat-box:hover {
  transform: translateY(-3px);
  border-color: var(--border-light-hover);
  box-shadow: var(--shadow-md);
}

.sb-num {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sb-lbl {
  font-size: 11.5px;
  color: var(--text-muted-light);
  margin-top: 6px;
  font-weight: 600;
}

/* === NEWS SECTION === */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

.news-card {
  background: var(--bg-light-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-spring);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-light-hover);
  box-shadow: var(--shadow-lg);
}

.nc-img {
  height: 130px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.nc-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.03));
}

.nc-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.nc-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
  border: 1px solid transparent;
  width: fit-content;
}

.nb-akademik { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.nb-inovasi { background: #f0fdf4; color: #15803d; border-color: #bbf7d0; }
.nb-workshop { background: #fffbeb; color: #b45309; border-color: #fde68a; }
.nb-kegiatan { background: #f5f3ff; color: #6d28d9; border-color: #ddd6fe; }
.nb-pengumuman { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }

.nc-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary-light);
  line-height: 1.4;
  margin-bottom: 8px;
  transition: var(--transition-smooth);
}

.news-card:hover .nc-title {
  color: var(--accent-blue);
}

.nc-excerpt {
  font-size: 13.5px;
  color: var(--text-secondary-light);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}

.nc-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  font-size: 11.5px;
  color: var(--text-muted-light);
  font-weight: 500;
}

/* === QUICK LINKS === */
.ql-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media(max-width:991px) {
  .ql-grid { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width:575px) {
  .ql-grid { grid-template-columns: 1fr; }
}

.ql-card {
  background: rgba(10, 14, 28, 0.85);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  transition: var(--transition-spring);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.12), 0 0 10px rgba(16, 185, 129, 0.08);
}

.ql-card:hover {
  background: rgba(10, 14, 28, 0.95);
  border-color: rgba(16, 185, 129, 0.5);
  transform: translateY(-4px);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25), 0 0 15px rgba(16, 185, 129, 0.2);
}

.ql-icon {
  font-size: 32px;
  margin-bottom: 12px;
  transition: var(--transition-spring);
}

.ql-card:hover .ql-icon {
  transform: scale(1.15) rotate(5deg);
}

.ql-title {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* === FOOTER === */
.footer-custom {
  background: #0a0e1c;
  color: rgba(255, 255, 255, 0.65);
  padding: 70px 0 30px;
  border-top: 1px solid rgba(59, 130, 246, 0.2);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.fl-name {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.fl-sub {
  font-size: 13px;
  line-height: 1.65;
  max-width: 300px;
}

.fl-links h6 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 18px;
}

.fl-links ul {
  list-style: none;
  padding: 0;
}

.fl-links li {
  margin-bottom: 10px;
}

.fl-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 13px;
  transition: var(--transition-smooth);
}

.fl-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-bottom-custom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 50px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

/* === ANIMATIONS === */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.vis {
  opacity: 1;
  transform: translateY(0);
}

/* === AUTHENTICATION WRAPPER === */
.auth-bg {
  min-height: 100vh;
  background-color: var(--bg-dark);
  display: flex;
  flex-direction: column;
}

.auth-navbar {
  background: rgba(10, 14, 28, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-dark);
  padding: 14px 0;
}

.auth-navbar .tb-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.auth-container {
  flex: 1;
  display: flex;
  align-items: stretch;
}

.auth-split-left {
  width: 440px;
  min-width: 440px;
  background: linear-gradient(180deg, #0a0e1c 0%, #05070e 100%);
  border-right: 1px solid var(--border-dark);
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.auth-split-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 24px 24px;
}

.auth-split-left::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  filter: blur(40px);
}

.as-logo {
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}

.as-title {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 12px;
}

.as-desc {
  font-size: 14px;
  color: var(--text-secondary-dark);
  line-height: 1.7;
  margin-bottom: 40px;
}

.as-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(10, 14, 28, 0.8);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.25), 0 0 12px rgba(16, 185, 129, 0.2);
  transition: var(--transition-spring);
}

.as-badge:hover {
  background: rgba(10, 14, 28, 0.95);
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: 0 6px 28px rgba(59, 130, 246, 0.4), 0 0 18px rgba(16, 185, 129, 0.35);
  transform: translateY(-2px);
}

.as-badge-icon {
  width: 32px;
  height: 32px;
  background: var(--accent-gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #ffffff;
}

.as-badge-text {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
}

.as-footer {
  margin-top: auto;
  font-size: 11px;
  color: var(--text-muted-dark);
}

.auth-split-right {
  flex: 1;
  background-color: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  position: relative;
}

.auth-split-right::before {
  content: '';
  position: absolute;
  top: 20%;
  right: 10%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
  filter: blur(50px);
}

.auth-form-container {
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 2;
}

.af-heading {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.af-subtitle {
  font-size: 14px;
  color: var(--text-secondary-dark);
  margin-bottom: 36px;
}

/* === FORM INPUT STYLES === */
.form-group-custom {
  margin-bottom: 22px;
}

.form-label-custom {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 8px;
}

.form-input-custom {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 14px;
  padding: 12px 16px;
  font-family: var(--font-body);
  transition: var(--transition-smooth);
}

.form-input-custom:focus {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
  outline: none;
}

.input-group-custom {
  display: flex;
  position: relative;
}

.input-group-custom .form-input-custom {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: none;
}

.btn-input-append {
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid var(--border-dark);
  border-left: none;
  border-top-right-radius: var(--radius-md);
  border-bottom-right-radius: var(--radius-md);
  color: var(--text-secondary-dark);
  padding: 0 16px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-input-append:hover {
  color: #ffffff;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted-dark);
  margin: 28px 0;
}

.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.auth-footer-link {
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary-dark);
}

.auth-footer-link a {
  color: var(--accent-blue);
  text-decoration: none;
  font-weight: 600;
}

.auth-footer-link a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .auth-split-left { display: none; }
  .auth-split-right { padding: 40px 24px; }
}

/* === STUDENT DASHBOARD === */
.dash-layout {
  background-color: var(--bg-light);
  min-height: 100vh;
}

.dash-navbar {
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.dn-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.dn-name {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.dn-sub {
  font-size: 10px;
  color: var(--text-muted-dark);
}

.dn-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dn-btn {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.75);
}

.dn-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.dn-btn-primary {
  background: var(--accent-gradient);
  border: none;
  color: #ffffff;
}

.dn-btn-primary:hover {
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.3);
}

.dn-user {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
}

.dn-av {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dn-uname {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.dash-container {
  padding: 36px 24px;
  max-width: 1240px;
  margin: 0 auto;
}

.welcome-banner-custom {
  background: linear-gradient(135deg, #0f172a 0%, #020617 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 36px 42px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.welcome-banner-custom::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
  background-size: 24px 24px;
}

.wbc-left {
  position: relative;
  z-index: 2;
}

.wbc-greeting {
  font-size: 11px;
  color: var(--accent-blue);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.wbc-title {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.wbc-sub {
  font-size: 14px;
  color: var(--text-secondary-dark);
  line-height: 1.65;
  max-width: 520px;
}

.wbc-right {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chip-info-custom {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-smooth);
}

.chip-info-custom:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}

@media(max-width:900px) {
  .quick-actions-grid { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width:500px) {
  .quick-actions-grid { grid-template-columns: 1fr; }
}

.quick-action-card {
  background: var(--bg-light-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  text-decoration: none;
  color: var(--text-primary-light);
  transition: var(--transition-spring);
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}

.quick-action-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-light-hover);
  box-shadow: var(--shadow-md);
  color: var(--text-primary-light);
}

.qac-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.qac-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-primary-light);
}

.qac-sub {
  font-size: 11.5px;
  color: var(--text-muted-light);
}

.ai-widget-box {
  background: linear-gradient(135deg, #090e1c 0%, #03050a 100%);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-md);
}

.ai-widget-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.ai-widget-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.ai-widget-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.ai-widget-sub {
  font-size: 11.5px;
  color: var(--text-secondary-dark);
}

.ai-widget-input-row {
  display: flex;
  gap: 12px;
  position: relative;
}

.ai-widget-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 14px;
  padding: 12px 16px;
  font-family: var(--font-body);
  transition: var(--transition-smooth);
}

.ai-widget-input:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-blue);
  outline: none;
}

.ai-widget-send {
  background: var(--accent-gradient);
  border: none;
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  transition: var(--transition-spring);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.ai-widget-send:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.35);
}

.ai-widget-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.ai-widget-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.ai-widget-chip:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

/* === HAMBURGER BUTTON === */
.hamburger-custom {
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-secondary-light);
  width: 40px;
  height: 40px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 22px;
  transition: var(--transition-smooth);
}

.hamburger-custom:hover {
  background: rgba(15, 23, 42, 0.04);
  color: var(--text-primary-light);
}

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

.mobile-menu-custom {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 16px 20px;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 998;
}

.mobile-menu-custom.open {
  display: flex;
}

.mobile-menu-custom a {
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary-light);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.mobile-menu-custom a:hover {
  background: rgba(15, 23, 42, 0.04);
  color: var(--text-primary-light);
}

/* ============================================================
   STUDENT DASHBOARD SPECIFIC LAYOUT & COMPONENTS
   ============================================================ */

.content-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 24px;
  align-items: start;
}

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

.sec-card {
  background: var(--bg-light-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  transition: var(--transition-spring);
}

.sec-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-light-hover);
}

.sc-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary-light);
  margin-bottom: 4px;
}

.sc-sub {
  font-size: 12.5px;
  color: var(--text-muted-light);
  margin-bottom: 20px;
}

/* === PROFILE CARD (PREMIUM GLOW DARK ACCENT) === */
.profile-card {
  background: linear-gradient(135deg, #0f172a 0%, #020617 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 24px;
  color: #ffffff;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.profile-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.pc-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pc-av {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.25);
  flex-shrink: 0;
}

.pc-name {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.pc-role {
  font-size: 11px;
  color: var(--text-secondary-dark);
}

.pc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 13px;
}

.pc-row:last-child {
  border-bottom: none;
}

.pc-lbl {
  color: var(--text-secondary-dark);
  font-weight: 500;
}

.pc-val {
  color: #ffffff;
  font-weight: 600;
}

/* === SIDEBAR QUICK LINKS === */
.link-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-primary-light);
  transition: var(--transition-spring);
  border: 1px solid transparent;
  margin-bottom: 8px;
}

.link-item:hover {
  background: var(--bg-light);
  border-color: var(--border-light);
  color: var(--accent-blue);
  transform: translateX(4px);
}

.li-icon {
  font-size: 20px;
}

.li-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary-light);
}

.li-sub {
  font-size: 11px;
  color: var(--text-muted-light);
}

/* === TOAST NOTIFICATIONS === */
#toast-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast-item {
  background: var(--bg-light-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text-primary-light);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 240px;
  animation: toastIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes toastIn {
  from {
    transform: translateX(100%) scale(0.9);
    opacity: 0;
  }
  to {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
}

.toast-item.ok {
  border-left: 4px solid var(--accent-emerald);
}

.toast-item.err {
  border-left: 4px solid #ef4444;
}

/* === ADUAN MODAL TABLE & MODALS === */
.modal-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(6, 9, 19, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  padding: 20px;
}

.modal-bg.show {
  display: flex;
  animation: fadeIn 0.3s ease forwards;
}

.modal-box {
  background: var(--bg-light-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: var(--transition-spring);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-bg.show .modal-box {
  transform: translateY(0);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary-light);
}

.btn-close {
  background: transparent;
  border: none;
  font-size: 24px;
  color: var(--text-muted-light);
  cursor: pointer;
  transition: var(--transition-smooth);
  line-height: 1;
  padding: 4px;
}

.btn-close:hover {
  color: var(--text-primary-light);
}

.dash-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary-light);
  margin-bottom: 6px;
  margin-top: 16px;
}

.dash-form input[type="text"],
.dash-form textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  background: var(--bg-light);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-primary-light);
  transition: var(--transition-smooth);
  margin-bottom: 12px;
}

.dash-form input[type="text"]:focus,
.dash-form textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
  background: var(--bg-light-surface);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.btn-primary-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--accent-gradient);
  border: none;
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  transition: var(--transition-spring);
  box-shadow: var(--shadow-sm);
}

.btn-primary-dark:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md), 0 0 10px rgba(59, 130, 246, 0.2);
}

.aduan-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-top: 12px;
}

.aduan-table th {
  padding: 10px 12px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted-light);
  border-bottom: 2px solid var(--border-light);
}

.aduan-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
  color: var(--text-secondary-light);
}

.role-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

/* === TOGGLE SWITCH === */
.switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #d1d5db;
  transition: .3s;
  border-radius: 28px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  transition: .3s;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,.25);
}

.switch input:checked + .slider {
  background: #15803d;
}

.switch input:checked + .slider:before {
  transform: translateX(24px);
}

.switch input:disabled + .slider {
  opacity: .5;
  cursor: not-allowed;
}

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

/* === NAVBAR USER BADGES === */
.nb-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  color: var(--text-primary-light);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition-spring);
}

.user-chip:hover {
  background: rgba(59, 130, 246, 0.05);
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  transform: translateY(-1px);
}

.chip-av {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(59, 130, 246, 0.2);
}

/* === AUTHENTICATION PANELS REDESIGN (COLOR BALANCE FIX) === */
.auth-split-right {
  background-color: var(--bg-light) !important;
  color: var(--text-primary-light) !important;
  border-left: 1px solid var(--border-light) !important;
}

.auth-split-right::before {
  content: '';
  position: absolute;
  top: 20%;
  right: 10%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.04) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.auth-split-right .af-heading {
  color: var(--text-primary-light) !important;
}

.auth-split-right .af-subtitle {
  color: var(--text-secondary-light) !important;
}

.auth-split-right .form-label-custom {
  color: var(--text-primary-light) !important;
}

.auth-split-right .form-input-custom {
  background: #ffffff !important;
  border: 1.5px solid var(--border-light) !important;
  color: var(--text-primary-light) !important;
}

.auth-split-right .form-input-custom:focus {
  background: #ffffff !important;
  border-color: var(--accent-blue) !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
}

.auth-split-right .btn-input-append {
  background: #ffffff !important;
  border: 1.5px solid var(--border-light) !important;
  border-left: none !important;
  color: var(--text-secondary-light) !important;
}

.auth-split-right .btn-input-append:hover {
  color: var(--text-primary-light) !important;
}

.auth-split-right .auth-divider {
  color: var(--text-muted-light) !important;
}

.auth-split-right .auth-divider::before,
.auth-split-right .auth-divider::after {
  background: var(--border-light) !important;
}

.auth-split-right .auth-footer-link {
  color: var(--text-secondary-light) !important;
}

.auth-split-right .auth-footer-link a {
  color: var(--accent-blue) !important;
}

.auth-split-right .auth-footer-link a:hover {
  color: #2563eb !important;
}

/* Fix alert-msg layout for register and login forms */
.auth-split-right .alert-msg {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 20px;
  display: none;
}

.auth-split-right .alert-msg.error {
  background: #fef2f2 !important;
  border: 1px solid #fecaca !important;
  color: #b91c1c !important;
}

.auth-split-right .alert-msg.success {
  background: #f0fdf4 !important;
  border: 1px solid #bbf7d0 !important;
  color: #15803d !important;
}



