/* ========================================
   GLASS-MODERN DROPDOWN FIX
   Background SOLID - Theme Gaming Cyan
   ======================================== */
.glass-modern {
  background: linear-gradient(135deg, #0f0c29 0%, #1a1a2e 50%, #16213e 100%) !important;
  backdrop-filter: blur(25px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(25px) saturate(200%) !important;
  border: 2px solid rgba(0, 212, 255, 0.7) !important;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.95), 0 0 50px rgba(0, 212, 255, 0.5), inset 0 2px 0 rgba(255, 255, 255, 0.15) !important;
  opacity: 1 !important;
}

/* Navbar scrolled state */
nav.glass-modern {
  background: linear-gradient(135deg, rgba(15, 12, 41, 0.95) 0%, rgba(26, 26, 46, 0.95) 50%, rgba(22, 33, 62, 0.95) 100%) !important;
}

/* Title & Headings */
.glass-modern h3 {
  color: #00d4ff !important;
  font-family: "Orbitron", sans-serif !important;
  text-shadow: 0 0 15px rgba(0, 212, 255, 0.7) !important;
}

.glass-modern p {
  color: #94a3b8 !important;
}

/* Labels - Ubah dari violet ke cyan */
.glass-modern label {
  color: #00d4ff !important;
  font-weight: 600 !important;
}

.glass-modern label i {
  color: #00d4ff !important;
  text-shadow: 0 0 5px rgba(0, 212, 255, 0.5) !important;
}

/* Input Fields - SOLID BACKGROUND */
.glass-modern input[type=text],
.glass-modern input[type=password],
.glass-modern input[type=email] {
  background: rgba(20, 20, 50, 0.95) !important;
  border: 2px solid rgba(0, 212, 255, 0.4) !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  padding: 14px 16px !important;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.3s ease !important;
}

.glass-modern input[type=text]::-moz-placeholder, .glass-modern input[type=password]::-moz-placeholder, .glass-modern input[type=email]::-moz-placeholder {
  color: rgba(255, 255, 255, 0.4) !important;
}

.glass-modern input[type=text]::placeholder,
.glass-modern input[type=password]::placeholder,
.glass-modern input[type=email]::placeholder {
  color: rgba(255, 255, 255, 0.4) !important;
}

/* Input Focus State - Cyan glow */
.glass-modern input:focus {
  background: rgb(20, 20, 50) !important;
  border-color: rgba(0, 212, 255, 0.9) !important;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.5), inset 0 2px 8px rgba(0, 0, 0, 0.4) !important;
  outline: none !important;
  ring-color: rgba(0, 212, 255, 0.5) !important;
}

/* Captcha Image */
.glass-modern img {
  background: rgba(255, 255, 255, 0.95) !important;
  padding: 8px 16px !important;
  border-radius: 12px !important;
  border: 2px solid rgba(0, 212, 255, 0.3) !important;
  margin: 12px 0 !important;
}

/* Checkbox */
.glass-modern input[type=checkbox] {
  background: rgba(20, 20, 50, 0.8) !important;
  border-color: rgba(0, 212, 255, 0.5) !important;
  accent-color: #00d4ff !important;
}

/* Button Submit - Cyan Gradient Gaming Theme */
.glass-modern button[type=submit] {
  background: linear-gradient(135deg, #00d4ff 0%, #0099ff 100%) !important;
  border: 2px solid rgba(0, 255, 255, 0.6) !important;
  color: #0a0e27 !important;
  font-weight: 700 !important;
  padding: 14px 24px !important;
  border-radius: 12px !important;
  font-family: "Orbitron", sans-serif !important;
  text-transform: uppercase !important;
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.5) !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  overflow: hidden !important;
}

.glass-modern button[type=submit]::before {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 0 !important;
  height: 0 !important;
  background: rgba(255, 255, 255, 0.3) !important;
  border-radius: 50% !important;
  transform: translate(-50%, -50%) !important;
  transition: width 0.6s, height 0.6s !important;
}

.glass-modern button[type=submit]:hover::before {
  width: 400px !important;
  height: 400px !important;
}

.glass-modern button[type=submit]:hover {
  background: linear-gradient(135deg, #00ffff 0%, #00d4ff 100%) !important;
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 8px 35px rgba(0, 212, 255, 0.7) !important;
}

.glass-modern button[type=submit]:active {
  transform: translateY(0) scale(1) !important;
}

/* Links - Cyan Theme */
.glass-modern a {
  color: #00d4ff !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
}

.glass-modern a:hover {
  color: #00ffff !important;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.8) !important;
}

/* Border Divider */
.glass-modern .border-slate-700\/50,
.glass-modern .border-slate-700,
.glass-modern [class*=border-slate] {
  border-color: rgba(0, 212, 255, 0.3) !important;
}

/* Override Violet/Fuchsia Colors to Cyan */
.glass-modern [class*=text-violet],
.glass-modern [class*=text-fuchsia] {
  color: #00d4ff !important;
}

.glass-modern [class*=from-violet],
.glass-modern [class*=to-fuchsia] {
  background: linear-gradient(135deg, #00d4ff 0%, #0099ff 100%) !important;
}

/* Dropdown Items Hover */
.glass-modern a:not([type=submit]):hover {
  background-color: rgba(0, 212, 255, 0.1) !important;
}

/* Animation */
@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.glass-modern {
  animation: dropdownFadeIn 0.3s ease-out !important;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .glass-modern {
    width: 90vw !important;
    max-width: 90vw !important;
    left: 5vw !important;
    right: auto !important;
  }
}
/* Override background colors */
.glass-modern [class*=bg-slate] {
  background: rgba(20, 20, 50, 0.8) !important;
}

/* Text slate colors override */
.glass-modern [class*=text-slate-300],
.glass-modern [class*=text-slate-400] {
  color: #cbd5e1 !important;
}

/* Focus ring override */
.glass-modern [class*="focus:ring-violet"] {
  --tw-ring-color: rgba(0, 212, 255, 0.5) !important;
}

/* Scrollbar dalam dropdown jika ada */
.glass-modern::-webkit-scrollbar {
  width: 8px !important;
}

.glass-modern::-webkit-scrollbar-track {
  background: rgba(15, 12, 41, 0.8) !important;
  border-radius: 10px !important;
}

.glass-modern::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00d4ff 0%, #0099ff 100%) !important;
  border-radius: 10px !important;
}
