/* ====================================================================
   DDSE UPLOAD DOKUMENTASI CSR - 2026 VIRAL SPATIAL DESIGN SYSTEM
   Typography: 100% Plus Jakarta Sans
   Theme: Warm Luxury Cream (#FAF6F0) & Vibrant Terracotta Amber (#F97316)
   Aesthetic: 2026 Bento Glassmorphism, Liquid Light, Kinetic Glow
   ==================================================================== */

:root {
  /* Viral 2026 Curated Color Tokens */
  --primary-orange: #f97316;
  --primary-orange-hover: #ea580c;
  --primary-terracotta: #c2410c;
  --accent-amber: #f59e0b;
  --accent-gold: #fbbf24;
  --accent-gold-light: #fef3c7;

  /* Warm Cream & Ivory Surfaces */
  --bg-cream-base: #fbf7f2;
  --bg-cream-surface: #f4ecdf;
  --bg-cream-card: rgba(255, 254, 251, 0.82);
  --bg-cream-elevated: rgba(255, 255, 254, 0.92);

  /* Deep Warm Obsidian & Contrasts */
  --dark-obsidian: #14110e;
  --dark-charcoal: #1c1814;
  --dark-surface: #26211b;

  /* Typography Colors */
  --text-main: #1f1b16;
  --text-body: #4a4239;
  --text-muted: #7c7164;
  --text-light: #a89c8e;
  --text-inverse: #fdfbf7;

  /* Glassmorphism & Liquid Light Borders */
  --glass-border: rgba(234, 88, 12, 0.16);
  --glass-border-light: rgba(255, 255, 255, 0.85);
  --glass-border-focus: rgba(249, 115, 22, 0.45);
  
  --shadow-subtle: 0 4px 20px rgba(40, 30, 20, 0.04);
  --shadow-card: 0 24px 60px -15px rgba(120, 50, 10, 0.1), 0 0 1px 1px rgba(255, 255, 255, 0.9);
  --shadow-card-hover: 0 35px 85px -15px rgba(234, 88, 12, 0.18), 0 0 1px 1px rgba(255, 255, 255, 1);
  --shadow-btn-glow: 0 12px 32px -4px rgba(234, 88, 12, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.45);

  /* Gradients */
  --grad-sunset: linear-gradient(135deg, #f97316 0%, #ea580c 45%, #d97706 100%);
  --grad-sunset-subtle: linear-gradient(135deg, rgba(249, 115, 22, 0.08) 0%, rgba(234, 88, 12, 0.03) 100%);
  --grad-glass-reflection: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.65) 100%);

  /* Typography: Plus Jakarta Sans Solely */
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Transitions */
  --transition-fluid: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-snap: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
  min-height: 100vh;
  font-family: var(--font-family);
  background-color: var(--bg-cream-base);
  color: var(--text-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 3D WebGL Canvas Layer */
#webgl-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 35%, rgba(255, 248, 238, 0.95) 0%, rgba(248, 240, 228, 0.98) 60%, rgba(240, 230, 215, 1) 100%);
}

/* Atmospheric Ambient Light Halo */
.ambient-glow-orb {
  position: fixed;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  filter: blur(140px);
  opacity: 0.24;
  background: radial-gradient(circle, var(--primary-orange) 0%, var(--accent-amber) 60%, transparent 80%);
}
.orb-1 { top: -140px; left: -100px; }
.orb-2 { bottom: -200px; right: -150px; opacity: 0.2; background: radial-gradient(circle, var(--primary-terracotta) 0%, #f59e0b 60%, transparent 80%); }

/* ====================================================================
   TOP NAVBAR (2026 FLOATING CAPSULE BAR)
   ==================================================================== */
.navbar {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3rem);
  max-width: 1120px;
  z-index: 50;
  padding: 0.75rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-cream-card);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--glass-border-light);
  border-radius: 9999px;
  box-shadow: 0 16px 40px -10px rgba(36, 31, 26, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.95);
  transition: var(--transition-fluid);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text-main);
  cursor: pointer;
}

.brand-badge {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--grad-sunset);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 8px 20px -2px rgba(234, 88, 12, 0.4);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
}

.brand-title {
  display: flex;
  flex-direction: column;
}

.brand-title .main-name {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  color: var(--dark-obsidian);
  line-height: 1.15;
}

.brand-title .sub-name {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary-orange);
  font-weight: 800;
}

/* User Account Capsule Badge */
.mitra-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 1.3rem;
  border-radius: 9999px;
  background: white;
  border: 1px solid rgba(234, 88, 12, 0.22);
  color: var(--dark-obsidian);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  transition: var(--transition-snap);
}

.mitra-badge-btn:hover {
  border-color: var(--primary-orange);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.15);
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulse-dot 2s infinite;
}

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

/* ====================================================================
   2026 BUTTONS DESIGN (SUNSET GRADIENT & FROSTED GLASS)
   ==================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: var(--grad-sunset);
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.95rem 2rem;
  border-radius: 18px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-btn-glow);
  transition: var(--transition-snap);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 16px 38px -4px rgba(234, 88, 12, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: white;
  color: var(--dark-obsidian);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.95rem 1.8rem;
  border-radius: 18px;
  border: 1px solid rgba(120, 111, 102, 0.22);
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: var(--transition-snap);
}

.btn-secondary:hover {
  border-color: var(--primary-orange);
  color: var(--primary-terracotta);
  background: var(--bg-cream-surface);
  transform: translateY(-2px);
}

/* ====================================================================
   MAIN VIEWPORT WRAPPER
   ==================================================================== */
.main-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8.5rem 1.5rem 5rem 1.5rem;
}


/* ====================================================================
   1. LAYAR DEPAN: 2026 VIRAL SPATIAL WELCOME HERO
   ==================================================================== */
#welcomeScreen {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  transition: var(--transition-fluid);
}

.welcome-hero-card {
  background: var(--bg-cream-card);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  border-radius: 40px;
  border: 1px solid var(--glass-border-light);
  box-shadow: var(--shadow-card-hover);
  padding: 3.8rem 3rem;
  position: relative;
  overflow: hidden;
}

/* Shimmer Ambient Glow behind card */
.welcome-hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 4px;
  background: var(--grad-sunset);
  border-radius: 9999px;
  opacity: 0.9;
}

.welcome-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.28);
  color: var(--primary-terracotta);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.45rem 1.2rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.welcome-title {
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--dark-obsidian);
  margin-bottom: 1.25rem;
}

.welcome-title .gradient-text {
  background: var(--grad-sunset);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.welcome-desc {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.welcome-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  margin-bottom: 2.2rem;
}

/* 2026 Trust Badges Row */
.trust-badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(234, 88, 12, 0.12);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ====================================================================
   2. KARTU AUTENTIKASI: TAB DAFTAR MITRA BARU VS MASUK AKUN
   ==================================================================== */
#authCard {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  background: var(--bg-cream-card);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  border-radius: 40px;
  border: 1px solid var(--glass-border-light);
  box-shadow: var(--shadow-card-hover);
  overflow: hidden;
  position: relative;
  transition: var(--transition-fluid);
}

/* Smooth Segmented Control Tab Bar */
.auth-tab-bar {
  display: flex;
  background: rgba(240, 232, 220, 0.65);
  padding: 0.4rem;
  border-radius: 22px;
  margin: 1.8rem 2.2rem 0.5rem 2.2rem;
  border: 1px solid rgba(234, 88, 12, 0.14);
}

.auth-tab-btn {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 18px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-family);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: var(--transition-snap);
}

.auth-tab-btn.active {
  background: white;
  color: var(--primary-terracotta);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.auth-header-title {
  padding: 1.6rem 2.2rem 0.6rem 2.2rem;
  text-align: center;
}

.auth-header-title h2 {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--dark-obsidian);
  margin-bottom: 0.35rem;
}

.auth-header-title p {
  font-size: 0.88rem;
  color: var(--text-body);
}

.auth-card-body {
  padding: 1.2rem 2.2rem 2.4rem 2.2rem;
}

/* Email Notification Info Box */
.email-banner-sim {
  background: #fff7ed;
  color: var(--dark-obsidian);
  border-radius: 24px;
  padding: 1.2rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.6rem;
  box-shadow: 0 10px 28px rgba(234, 88, 12, 0.08);
  border: 1.5px solid #fed7aa;
  animation: slide-in-top 0.4s ease;
}

@keyframes slide-in-top {
  from { transform: translateY(-10px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.email-icon-circ {
  width: 42px;
  height: 42px;
  background: var(--grad-sunset);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
}

.email-text-box h5 {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fed7aa;
}

.email-text-box p {
  font-size: 0.78rem;
  opacity: 0.95;
  color: #f3ece1;
}

.email-code-highlight {
  font-weight: 800;
  color: #fef08a;
  letter-spacing: 0.1em;
  background: rgba(0, 0, 0, 0.45);
  padding: 0.2rem 0.55rem;
  border-radius: 8px;
  font-size: 0.9rem;
}

/* 6 Digits OTP Row */
.otp-inputs-row {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  margin: 1.6rem 0;
}

.otp-box {
  width: 52px;
  height: 60px;
  text-align: center;
  font-family: var(--font-family);
  font-size: 1.55rem;
  font-weight: 800;
  border-radius: 16px;
  border: 2px solid rgba(120, 111, 102, 0.22);
  background: white;
  color: var(--dark-obsidian);
  outline: none;
  transition: var(--transition-snap);
}

.otp-box:focus {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.18);
  transform: scale(1.06);
}

/* ====================================================================
   3. LAYAR DALAM: PORTAL UPLOAD DOKUMENTASI (FOKUS UTAMA)
   ==================================================================== */
#portalScreen {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  transition: var(--transition-fluid);
}

.upload-card-wrapper {
  background: var(--bg-cream-card);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  border: 1px solid var(--glass-border-light);
  border-radius: 40px;
  padding: 3.5rem;
  box-shadow: var(--shadow-card-hover);
  position: relative;
}

.portal-top-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.2rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid rgba(234, 88, 12, 0.14);
  flex-wrap: wrap;
  gap: 1.4rem;
}

.mitra-active-callout {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.28);
  padding: 0.75rem 1.3rem;
  border-radius: 22px;
}

.mitra-active-callout .info-txt {
  display: flex;
  flex-direction: column;
}

.mitra-active-callout .name {
  font-size: 0.9rem;
  font-weight: 800;
  color: #065f46;
  letter-spacing: -0.01em;
}

.mitra-active-callout .email {
  font-size: 0.75rem;
  color: #047857;
  font-weight: 600;
}

/* Form Styles */
.form-group-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  margin-bottom: 1.4rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--dark-obsidian);
  letter-spacing: -0.01em;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 0.95rem 1.3rem;
  border-radius: 18px;
  border: 1.5px solid rgba(120, 111, 102, 0.22);
  background: rgba(255, 255, 255, 0.95);
  font-family: var(--font-family);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-main);
  outline: none;
  transition: var(--transition-snap);
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--primary-orange);
  background: white;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.16);
}

/* Password Input with Show/Hide Toggle */
.password-input-wrap {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.password-input-wrap .form-input {
  padding-right: 2.8rem;
}

.password-toggle-btn {
  position: absolute;
  right: 0.9rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem;
  border-radius: 8px;
  transition: var(--transition-snap);
}

.password-toggle-btn:hover {
  color: var(--primary-orange);
  background: rgba(249, 115, 22, 0.08);
}

.form-textarea {
  resize: vertical;
  min-height: 90px;
}

/* Quick Program Pills */
.quick-program-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}

.quick-prog-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-terracotta);
  background: rgba(249, 115, 22, 0.08);
  border: 1px solid rgba(249, 115, 22, 0.2);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: var(--transition-snap);
}

.quick-prog-pill:hover {
  background: var(--grad-sunset);
  color: white;
  border-color: transparent;
}

/* 2026 Google Drive Auto-Structure Showcase Box */
.drive-structure-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid rgba(234, 88, 12, 0.18);
  border-radius: 22px;
  padding: 1.4rem 1.6rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02);
}

.structure-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(234, 88, 12, 0.1);
}

.structure-title {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-terracotta);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.structure-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
}

.structure-tree {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.tree-main-folder {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--dark-obsidian);
  background: rgba(249, 115, 22, 0.06);
  padding: 0.65rem 1rem;
  border-radius: 14px;
  border: 1px dashed rgba(249, 115, 22, 0.3);
}

.tree-subfolders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding-left: 1.2rem;
}

.subfolder-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.9rem;
  border-radius: 14px;
  background: #fbf7f2;
  border: 1px solid rgba(120, 111, 102, 0.18);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-body);
}

.subfolder-item span.highlight {
  font-weight: 800;
  color: var(--dark-obsidian);
}

.structure-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.85rem;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ====================================================================
   POPUP MODAL SUKSES GOOGLE DRIVE
   ==================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 17, 14, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.drive-modal-card {
  background: var(--bg-cream-elevated);
  border-radius: 40px;
  border: 1px solid var(--glass-border-light);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.35);
  width: 100%;
  max-width: 480px;
  padding: 2.8rem 2.4rem;
  text-align: center;
  transform: translateY(20px) scale(0.97);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .drive-modal-card {
  transform: translateY(0) scale(1);
}

.success-check-badge {
  width: 76px;
  height: 76px;
  border-radius: 28px;
  background: #ecfdf5;
  border: 2px solid #a7f3d0;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.2);
}

.drive-info-box {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(234, 88, 12, 0.18);
  border-radius: 24px;
  padding: 1.4rem;
  text-align: left;
  margin: 1.5rem 0 1.8rem 0;
}

.btn-drive-launch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: #059669;
  color: white;
  font-weight: 800;
  padding: 1.05rem 1.5rem;
  border-radius: 18px;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(5, 150, 105, 0.32);
  transition: var(--transition-snap);
}

.btn-drive-launch:hover {
  background: #047857;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(5, 150, 105, 0.42);
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 10;
  background: var(--dark-obsidian);
  color: var(--text-inverse);
  padding: 2.8rem 2rem;
  border-top: 1px solid rgba(249, 115, 22, 0.2);
}

.footer-content {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .form-group-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .welcome-hero-card, .upload-card-wrapper {
    padding: 2.2rem 1.6rem;
    border-radius: 30px;
  }
  .welcome-title {
    font-size: 2.2rem;
  }
  .navbar {
    width: calc(100% - 1.5rem);
    padding: 0.65rem 1rem;
  }
}

/* ====================================================================
   CUSTOM LUXURY BENTO ALERT & CONFIRM MODAL (PENGGANTI ALERT BROWSER)
   ==================================================================== */
.custom-alert-card {
  max-width: 440px;
  padding: 2.5rem 2.2rem;
  border-radius: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--glass-border-light);
}

.custom-alert-icon-wrap {
  width: 74px;
  height: 74px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.4rem auto;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.custom-alert-icon-wrap.success {
  background: #ecfdf5;
  border: 2px solid #a7f3d0;
  color: #059669;
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.25);
}

.custom-alert-icon-wrap.error {
  background: #fef2f2;
  border: 2px solid #fecaca;
  color: #dc2626;
  box-shadow: 0 12px 28px rgba(239, 68, 68, 0.25);
}

.custom-alert-icon-wrap.warning {
  background: #fffbeb;
  border: 2px solid #fde68a;
  color: #d97706;
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.25);
}

.custom-alert-icon-wrap.info {
  background: #fff7ed;
  border: 2px solid #fed7aa;
  color: #ea580c;
  box-shadow: 0 12px 28px rgba(234, 88, 12, 0.25);
}

.custom-alert-title {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--dark-obsidian);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.custom-alert-message {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1.6rem;
  word-break: break-word;
}

.custom-alert-actions {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
}

.custom-alert-btn-confirm {
  flex: 1;
  padding: 0.95rem 1.4rem;
  font-size: 0.92rem;
  border-radius: 18px;
  cursor: pointer;
}

.custom-alert-btn-cancel {
  flex: 1;
  padding: 0.95rem 1.4rem;
  font-size: 0.92rem;
  border-radius: 18px;
  cursor: pointer;
}

/* ====================================================================
   TOAST FLOATING NOTIFICATIONS (STATUS CEPAT DI LAPANGAN)
   ==================================================================== */
.toast-container {
  position: fixed;
  top: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  pointer-events: none;
  width: 90%;
  max-width: 440px;
}

.toast-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(234, 88, 12, 0.22);
  padding: 0.9rem 1.3rem;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14), 0 3px 8px rgba(234, 88, 12, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: toastSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: all 0.3s ease;
}

@keyframes toastSlideDown {
  from {
    opacity: 0;
    transform: translateY(-24px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.toast-pill.toast-hiding {
  opacity: 0;
  transform: translateY(-16px) scale(0.94);
}

.toast-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast-icon.success { background: #ecfdf5; color: #059669; }
.toast-icon.error { background: #fef2f2; color: #dc2626; }
.toast-icon.warning { background: #fffbeb; color: #d97706; }
.toast-icon.info { background: #fff7ed; color: #ea580c; }

.toast-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark-obsidian);
  line-height: 1.45;
  flex: 1;
}

