/* Custom styles for btn-lv */
body {
  font-family: "Poppins", sans-serif;
  background: url("../assets/bg-new.jpg");
  background-position: center;
  background-size: cover;
  /* background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 25%, #3b82f6 50%, #1e40af 75%, #1e3a8a 100%); */
  min-height: 100vh;
}

.theme-btn {
  background: linear-gradient(180deg, #e81b5b 0%, #6e0124 100%);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
  color: #ffffff;
}

.theme-btn:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 50%, #92400e 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

.phone-input,
.pin-input {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.3);
  /* border-radius: 8px; */
  transition: all 0.3s ease;
}
.dilecode {
  background: #c8c7c7;
}
/* .phone-input:focus,
.pin-input:focus {
  background: rgba(255, 255, 255, 1);
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
  transform: scale(1.02);
} */
#formContainer {
  background: #ffffff;
  padding: 15px;
  border-radius: 15px;
}
#phoneInputContainer,
#pinInputContainer {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  transition: all 0.3s ease;
  border: 2px solid #cccccc;
}

/* #phoneInputContainer:focus-within,
#pinInputContainer:focus-within {
  /* border-color: #8b5cf6; */
/* box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
} 
 */
.legal_text {
  /* background: rgba(255, 255, 255, 0.15); */
  backdrop-filter: blur(10px);
  padding: 8px 12px;
  /* border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); */
}

.device-icon {
  transition: all 0.3s ease;
}

.device-icon:hover {
  transform: scale(1.1);
}

.spinner {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.text-custom {
  color: inherit;
}

/* Improved form styling */
#phoneInputContainer,
#pinInputContainer {
  background: rgba(255, 255, 255, 0.95);
  /* border: 1px solid rgba(255, 255, 255, 0.3); */
  border-radius: 8px;
  /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); */
}

/* #phoneInputContainer:focus-within,
#pinInputContainer:focus-within {
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
} */

/* Better text readability */
.text-custom {
  color: rgba(0, 0, 0, 0.8);
}

/* Responsive layout improvements */
@media (max-width: 768px) {
  .legal_text {
    font-size: 10px;
    padding: 6px 8px;
    line-height: 1.3;
    margin: 0.5rem 0;
  }

  .theme-btn {
    font-size: 14px;
    padding: 12px 16px;
  }
}

@media (min-width: 769px) {
  .legal_text {
    max-width: 500px;
    font-size: 11px;
    line-height: 1.3;
    padding: 8px 12px;
    margin: 0.5rem 0;
  }

  .theme-btn {
    font-size: 16px;
  }
}

/* Ensure all text is visible against blue background */
.text-white {
  color: #ffffff !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
}

.text-black {
  color: #000000 !important;
}

/* Language switcher visibility */
.language-switcher a.active {
  color: #ffffff !important;
  font-weight: 600 !important;
  display: inline-block;
  background-color: #e81b5b;
}

.language-switcher a:hover {
  background: rgba(0, 0, 0, 0.5) !important;
}

/* Terms link visibility */
a[href*="terms"] {
  color: #ffffff !important;
  text-decoration: underline !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
  background: rgba(0, 0, 0, 0.2) !important;
  padding: 2px 4px !important;
  border-radius: 4px !important;
}

/* Legal text visibility */
.legal_text {
  color: #ffffff !important;
  /* background: rgba(255, 255, 255, 0.95) !important; */
  /* border: 1px solid rgba(0, 0, 0, 0.2) !important; */
}

/* Device icons visibility */
.device-icon svg {
  color: #ffffff !important;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.8)) !important;
}

/* General link styling for better visibility */
a {
  color: #ffffff !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

a:hover {
  color: #f3f4f6 !important;
}

/* Main heading visibility */
h1 {
  color: #ffffff !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9) !important;
}

/* All white text elements */
.text-white {
  color: #ffffff !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

/* Tailwind opacity classes */
[class*="text-white"] {
  color: #ffffff !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

/* Improved spacing for mobile */
@media (max-width: 480px) {
  .legal_text {
    font-size: 9px;
    padding: 4px 6px;
    margin: 0.5rem 0;
  }

  .device-icon svg {
    width: 1.5rem;
    height: 1.5rem;
  }
}

/* Desktop optimization - ensure no scroll */
@media (min-width: 1024px) {
  .legal_text {
    max-width: 450px;
    font-size: 10px;
    line-height: 1.2;
    padding: 6px 10px;
    margin: 0.25rem 0;
  }
}
