/* ============================================
   PENTAS PAI 2026 - CUSTOM STYLES
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Amiri:wght@400;700&display=swap');

:root {
  --emerald-50: #ecfdf5;
  --emerald-900: #064e3b;
  --gold-400: #d4af37;
  --gold-500: #b8941f;
  --bg-dark: #0f172a;
  --card-bg: rgba(30, 41, 59, 0.85);
  --border-subtle: rgba(71, 85, 105, 0.5);
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--bg-dark);
  color: #f1f5f9;
  -webkit-font-smoothing: antialiased;
}

.font-amiri { font-family: 'Amiri', serif; }

/* Glassmorphism Cards */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

/* Gold Gradient Button */
.btn-gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: #064e3b;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
}
.btn-gold:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(212,175,55,0.35);
}
.btn-gold:disabled { opacity: 0.6; cursor: not-allowed; }

/* Smooth Scroll & Animations */
* { scroll-behavior: smooth; }
.animate-fade-in { animation: fadeIn 0.4s ease-out forwards; }
.animate-slide-up { animation: slideUp 0.5s ease-out forwards; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Modern Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(16, 185, 129, 0.3);
  border-radius: 10px;
  transition: background 0.2s;
}
*:hover::-webkit-scrollbar-thumb { background: rgba(16, 185, 129, 0.7); }
* { scrollbar-width: thin; scrollbar-color: rgba(16, 185, 129, 0.4) transparent; }

/* Form Inputs */
.input-field {
  background: #334155;
  border: 2px solid #475569;
  color: #f1f5f9;
  transition: all 0.2s;
}
.input-field:focus {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  outline: none;
}
.input-field::placeholder { color: #94a3b8; }

/* Toast Notifications */
#toast-container { position: fixed; top: 1rem; right: 1rem; z-index: 9999; display: flex; flex-direction: column; gap: 0.5rem; }
.toast {
  background: #1e293b; border-left: 4px solid; padding: 0.75rem 1rem;
  border-radius: 0.5rem; box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  display: flex; align-items: center; gap: 0.75rem; min-width: 280px;
  animation: slideInRight 0.3s ease forwards;
}
.toast-success { border-color: #10b981; color: #6ee7b7; }
.toast-error { border-color: #ef4444; color: #fca5a5; }
.toast-warning { border-color: #f59e0b; color: #fcd34d; }
.toast-info { border-color: #3b82f6; color: #93c5fd; }

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(100%); }
  to { opacity: 1; transform: translateX(0); }
}

/* Perbaikan padding modal verifikasi */
#verifyModalBody .glass {
    padding: 1rem;
}

#verifyModalBody .grid {
    gap: 0.75rem;
}

/* Tombol aksi responsif */
@media (max-width: 640px) {
    #verifyModal .flex-wrap {
        flex-direction: column;
    }
    #verifyModal textarea {
        width: 100%;
    }
    #verifyModal .flex-wrap .flex-wrap {
        justify-content: center;
    }
}

/* Scrollbar modern untuk seluruh halaman admin */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #1e293b;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #10b981;
    border-radius: 10px;
    transition: background 0.2s;
}

::-webkit-scrollbar-thumb:hover {
    background: #34d399;
}

/* Untuk area modal agar scrollbar lebih halus */
#verifyModalBody::-webkit-scrollbar {
    width: 6px;
}
#verifyModalBody::-webkit-scrollbar-track {
    background: #0f172a;
}
#verifyModalBody::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 6px;
}