/*!**********************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/app/login-styles.css ***!
  \**********************************************************************************************************************************************************************************************************************************************************************/
/* Login Page Hero Background & Animations */
.login-page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.login-page-loader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.login-loader-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
  overflow: hidden;
}

.login-animated-gradient {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(59, 130, 246, 0.3) 0%,
      transparent 50%
  ),
  radial-gradient(
      circle at 80% 20%,
      rgba(6, 182, 212, 0.2) 0%,
      transparent 50%
  ),
  radial-gradient(
      circle at 40% 80%,
      rgba(147, 51, 234, 0.2) 0%,
      transparent 50%
  );
  animation: rotate-gradient 8s linear infinite;
}

@keyframes rotate-gradient {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.login-loader-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 400px;
  padding: 2rem;
}

.login-phase-content {
  animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.login-phase-logo {
  height: 50px;
  width: auto;
  animation: pulse-glow 2s ease-in-out infinite;
  background: transparent !important;
  mix-blend-mode: screen;
  filter: brightness(1.2) drop-shadow(0 0 10px rgba(59, 130, 246, 0.3));
  -o-object-fit: contain;
     object-fit: contain;
  /* Remove any white/light background from PNG */
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,1));
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,1));
}

.login-phase-text {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, #60a5fa, #06b6d4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s ease-in-out infinite;
}

.login-phase-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  animation: text-glow 2s ease-in-out infinite;
}

.login-phase-subtitle {
  opacity: 0.8;
  font-size: 1rem;
  animation: fade-pulse 2s ease-in-out infinite;
}

/* Wave Visual Animation */
.login-wave-visual {
  margin-bottom: 2rem;
}

.login-wave-container {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 0 auto;
}

.login-wave {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: login-wave-pulse 2s ease-out infinite;
}

.login-wave:nth-child(2) {
  animation-delay: 0.4s;
  border-color: rgba(59, 130, 246, 0.4);
}

.login-wave:nth-child(3) {
  animation-delay: 0.8s;
  border-color: rgba(6, 182, 212, 0.3);
}

@keyframes login-wave-pulse {
  0% {
    transform: scale(0.5);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Pulse Icon */
.login-pulse-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  border-radius: 50%;
  margin-bottom: 2rem;
  animation: login-pulse-glow 2s ease-in-out infinite;
}

.login-pulse-icon::before,
.login-pulse-icon::after {
  content: '';
  position: absolute;
  border: 2px solid rgba(59, 130, 246, 0.4);
  border-radius: 50%;
  animation: pulse-ring 2s ease-out infinite;
}

.login-pulse-icon::before {
  width: 100px;
  height: 100px;
  animation-delay: 0s;
}

.login-pulse-icon::after {
  width: 120px;
  height: 120px;
  animation-delay: 0.5s;
  border-color: rgba(6, 182, 212, 0.3);
}

.login-mic-icon {
  width: 32px;
  height: 32px;
  color: white;
}

/* Ready Check Animation */
.login-ready-check {
  margin-bottom: 2rem;
}

.login-check-circle {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #10b981, #06d6a0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  animation: login-success-pulse 1s ease;
}

.login-check-circle svg {
  width: 40px;
  height: 40px;
  color: white;
  animation: check-draw 0.8s ease-in-out;
}

@keyframes login-success-pulse {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes check-draw {
  0% {
    stroke-dasharray: 0 100;
  }
  100% {
    stroke-dasharray: 100 0;
  }
}

/* Main Content */
.login-main-content {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease 0.2s, visibility 0.6s ease 0.2s;
}

.login-main-content.visible {
  opacity: 1;
  visibility: visible;
}

.login-main-content.hidden {
  opacity: 0;
  visibility: hidden;
  transition: none;
}

/* Hero Background */
.login-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
  overflow: hidden;
}

.login-gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  animation: float-orb 6s ease-in-out infinite;
}

.login-orb-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.login-orb-2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 70%);
  top: 60%;
  right: 20%;
  animation-delay: 2s;
}

.login-orb-3 {
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.2) 0%, transparent 70%);
  bottom: 30%;
  left: 60%;
  animation-delay: 4s;
}

@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
}

.login-drift-pattern {
  position: absolute;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: drift 20s linear infinite;
}

@keyframes drift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

/* Content Container */
.login-content-container {
  position: relative;
  z-index: 10;
  width: 80%;
  max-width: 35vw;
  padding: 2rem;
  animation: slide-up 0.8s ease 0.3s both;
}

/* Enhanced Login Form Styling */
.login-form-card-enhanced {
    max-width: 800px;
    width: 90%;
    min-height: auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.08),
        0 4px 16px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    padding: 0;
    overflow: hidden;
}

.login-header-enhanced {
    padding: 20px 24px 16px 24px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.03) 0%, rgba(147, 197, 253, 0.03) 100%);
    border-bottom: 1px solid rgba(59, 130, 246, 0.08);
}

/* Brand Section */
.login-brand-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 16px;
}

.login-brand-horizontal {
    display: flex;
    align-items: center;
    gap: 12px;
}

.login-logo-horizontal {
    width: 40px;
    height: 40px;
    -o-object-fit: contain;
       object-fit: contain;
}

.login-brand-text-horizontal {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.login-brand-text {
    text-align: center;
}

.login-brand-name {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #1e40af 0%, #0891b2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0;
}

.login-brand-tagline {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-align: center;
    margin-top: 8px;
    margin-bottom: 0;
}

/* Form Header */
.login-form-header {
    text-align: center;
}

.login-form-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.login-form-subtitle {
    font-size: 14px;
    color: #64748b;
    line-height: 1.4;
    max-width: 400px;
    margin: 0 auto;
}

/* Form Content */
.login-form-content {
    padding: 0 24px 24px 24px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.login-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.login-label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    letter-spacing: 0.01em;
}

.login-input {
    height: 48px;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.2s ease;
    background: #ffffff;
    color: #1f2937;
}

.login-input::-moz-placeholder {
    color: #9ca3af;
    opacity: 1;
}

.login-input::placeholder {
    color: #9ca3af;
    opacity: 1;
}

.login-input:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    background: #ffffff;
    color: #1f2937;
}

/* Password Input */
.login-password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.login-password-input {
    padding-right: 48px;
}

.login-password-toggle {
    position: absolute;
    right: 2px;
    height: 44px;
    width: 44px;
    border-radius: 10px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: all 0.2s ease;
}

.login-password-toggle:hover {
    background: rgba(59, 130, 246, 0.08);
    color: #3b82f6;
}

.login-eye-icon {
    width: 18px;
    height: 18px;
}

/* Messages */
.login-message {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.login-message-icon {
    font-size: 16px;
    margin-top: 1px;
}

.login-message-text {
    flex: 1;
    font-weight: 500;
}

.login-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #dc2626;
}

.login-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #16a34a;
}

/* Submit Button */
.login-submit-button {
    width: 100%;
    height: 52px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border: none;
    border-radius: 14px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.login-submit-button:hover:not(:disabled) {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    transform: translateY(-1px);
}

.login-submit-button:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.login-submit-button:disabled {
    opacity: 0.8;
    cursor: not-allowed;
    transform: none;
}

.login-button-content,
.login-loading-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.login-button-icon {
    width: 18px;
    height: 18px;
}

.login-button-text {
    font-weight: 600;
    letter-spacing: 0.01em;
}

.login-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Form Actions */
.login-form-actions {
    margin-top: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.login-link {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.2s ease;
    padding: 8px 4px;
    border-radius: 8px;
}

.login-link-primary {
    color: #3b82f6;
    font-weight: 600;
}

.login-link-primary:hover {
    color: #1d4ed8;
    background: rgba(59, 130, 246, 0.05);
}

.login-link-secondary {
    color: #6b7280;
    font-weight: 500;
}

.login-link-secondary:hover {
    color: #374151;
    background: rgba(107, 114, 128, 0.05);
}

/* Help Text */
.login-help-text {
    margin-top: 5px;
    text-align: center;
    padding-top: 5px;
    border-top: 1px solid rgba(229, 231, 235, 0.5);
}

.login-help-main {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 4px;
    font-weight: 500;
}

.login-help-sub {
    font-size: 13px;
    color: #9ca3af;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* Footer */
.login-footer {
    margin-top: 16px;
    text-align: center;
}

.login-footer-text {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 400;
}

/* Legacy Form Card */
.login-form-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  border-radius: 20px;
}

/* Additional Animations */
@keyframes login-pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.8), 0 0 40px rgba(6, 182, 212, 0.4);
    transform: scale(1.05);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    filter: brightness(1) drop-shadow(0 0 10px rgba(59, 130, 246, 0.3));
  }
  50% {
    filter: brightness(1.2) drop-shadow(0 0 20px rgba(59, 130, 246, 0.6));
  }
}

@keyframes shimmer {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

@keyframes text-glow {
  0%, 100% {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  }
  50% {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
  }
}

@keyframes fade-pulse {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 0.4; }
}

@keyframes slide-up {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .login-main-content {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .login-content-container {
    max-width: 100%;
    width: 95%;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .login-form-card-enhanced {
    width: 100%;
    max-width: none;
    border-radius: 12px;
    margin: 0;
    background: transparent;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
  }
  
  .login-header-enhanced {
    padding: 24px 20px 20px 20px;
    background: transparent;
    border-bottom: none;
  }
  
  .login-label {
    color: #ffffff;
    font-weight: 600;
  }
  
  .login-brand-name {
    color: #ffffff;
  }
  
  .login-brand-tagline {
    color: rgba(255, 255, 255, 0.8);
  }
  
  .login-footer-text {
    color: rgba(255, 255, 255, 0.6);
  }
  
  .login-form-content {
    padding: 0 20px 24px 20px;
  }
  
  .login-brand-name {
    font-size: 20px;
  }
  
  .login-brand-tagline {
    font-size: 13px;
  }
  
  .login-form-title {
    font-size: 20px;
  }
  
  .login-form-subtitle {
    font-size: 13px;
  }
  
  .login-wave-container {
    width: 250px;
    height: 250px;
  }
  
  .login-phase-logo {
    height: 40px;
  }
  
  .login-phase-text {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .login-main-content {
    min-height: 100vh;
    padding: 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .login-content-container {
    max-width: 100%;
    width: 100%;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .login-form-card-enhanced {
    border-radius: 8px;
    margin: 0;
    background: transparent;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    width: 100%;
  }
  
  .login-header-enhanced {
    padding: 16px 16px 12px 16px;
    background: transparent;
    border-bottom: none;
  }
  
  .login-label {
    color: #ffffff;
    font-weight: 600;
  }
  
  .login-brand-name {
    color: #ffffff;
  }
  
  .login-brand-tagline {
    color: rgba(255, 255, 255, 0.8);
  }
  
  .login-footer-text {
    color: rgba(255, 255, 255, 0.6);
  }
  
  .login-brand-section {
    margin-bottom: 12px;
  }
  
  .login-form-header {
    display: none; /* Hide form title on mobile to save space */
  }
  
  .login-form-content {
    padding: 0 16px 16px 16px;
  }
  
  .login-form {
    gap: 14px; /* Reduce gap between form elements */
  }
  
  .login-brand-name {
    font-size: 18px;
  }
  
  .login-brand-tagline {
    font-size: 12px;
  }
  
  .login-input {
    height: 44px;
    font-size: 16px; /* Prevent zoom on iOS */
    background: #ffffff !important;
    color: #1f2937 !important;
  }
  
  .login-input::-moz-placeholder {
    color: #9ca3af !important;
  }
  
  .login-input::placeholder {
    color: #9ca3af !important;
  }
  
  .login-submit-button {
    height: 48px;
    font-size: 15px;
  }
  
  .login-form-actions {
    margin-top: 12px;
    gap: 4px;
  }
  
  .login-help-text {
    margin-top: 12px;
    padding-top: 12px;
  }
  
  .login-help-main {
    font-size: 12px;
    margin-bottom: 2px;
  }
  
  .login-help-sub {
    font-size: 11px;
  }
  
  .login-footer {
    margin-top: 12px;
  }
  
  .login-footer-text {
    font-size: 11px;
  }
  
  .login-wave-container {
    width: 200px;
    height: 200px;
  }
  
  .login-phase-text {
    font-size: 1.3rem;
  }
}

/* Select/Dropdown Styles - Complete white theme override */
.select-trigger {
  background: #ffffff !important;
  color: #1f2937 !important;
  border: 2px solid #e5e7eb !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.select-trigger:hover {
  border-color: #cbd5e1 !important;
}

.select-trigger:focus {
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1) !important;
}

/* Force white background at portal level */
[data-radix-portal] {
  --select-bg: #ffffff !important;
}

[data-radix-popper-content-wrapper] {
  z-index: 9999 !important;
}

/* Select trigger button */
button[role="combobox"] {
  background: #ffffff !important;
  color: #1f2937 !important;
  border: 2px solid #e5e7eb !important;
}

button[role="combobox"]:hover {
  border-color: #cbd5e1 !important;
}

button[role="combobox"]:focus {
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1) !important;
}

/* Select dropdown content - FORCE WHITE BACKGROUND with Tailwind overrides */
[data-radix-select-content],
.select-content,
[data-radix-portal] [data-radix-select-content] {
  --tw-bg-opacity: 1 !important;
  --tw-border-opacity: 1 !important;
  --tw-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.08) !important;
  background: #ffffff !important;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity)) !important;
  border: 1px solid #e5e7eb !important;
  border-color: rgb(229 231 235 / var(--tw-border-opacity)) !important;
  border-width: 1px !important;
  border-style: solid !important;
  border-radius: 12px !important;
  box-shadow: var(--tw-shadow) !important;
  overflow: hidden !important;
}

/* Select viewport - WHITE BACKGROUND with Tailwind overrides */
[data-radix-select-viewport],
[data-radix-portal] [data-radix-select-viewport] {
  --tw-bg-opacity: 1 !important;
  background: #ffffff !important;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity)) !important;
  border: none !important;
  padding: 4px !important;
}

/* Select dropdown items - WHITE BACKGROUND with Tailwind overrides */
[data-radix-select-item],
.select-item,
[data-radix-portal] [data-radix-select-item] {
  --tw-bg-opacity: 1 !important;
  --tw-text-opacity: 1 !important;
  background: #ffffff !important;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity)) !important;
  color: rgb(31 41 55 / var(--tw-text-opacity)) !important;
  padding: 10px 12px !important;
  cursor: pointer !important;
  border: none !important;
  outline: none !important;
  font-size: 14px !important;
  transition: background-color 0.15s ease !important;
}

[data-radix-select-item]:hover,
.select-item:hover,
[data-radix-portal] [data-radix-select-item]:hover {
  --tw-bg-opacity: 1 !important;
  background: #f9fafb !important;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity)) !important;
}

[data-radix-select-item][data-highlighted],
[data-radix-select-item][data-state="checked"],
[data-radix-portal] [data-radix-select-item][data-highlighted] {
  --tw-bg-opacity: 1 !important;
  background: #f3f4f6 !important;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity)) !important;
  font-weight: 500 !important;
}

/* Force all children to have white background with Tailwind overrides */
[data-radix-select-content] *:not([data-radix-select-item]) {
  --tw-bg-opacity: 1 !important;
  background: #ffffff !important;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity)) !important;
  border: none !important;
  outline: none !important;
}

/* Clean text styling */
[data-radix-select-item] span,
[data-radix-portal] [data-radix-select-item] span {
  color: #1f2937 !important;
  background: transparent !important;
  display: block !important;
}

/* Signup Content Container - Wider than login */
.signup-content-container {
  position: relative;
  z-index: 10;
  width: 90%;
  max-width: 60vw;
  padding: 2rem;
  animation: slide-up 0.8s ease 0.3s both;
}

/* Signup Form Specific Styles */
.signup-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.signup-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.signup-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.signup-row .login-input-group {
  margin-bottom: 0;
}

/* Responsive adjustments for signup */
@media (max-width: 1200px) {
  .signup-content-container {
    max-width: 70vw;
  }
}

@media (max-width: 768px) {
  .signup-content-container {
    max-width: 90%;
    padding: 1rem;
  }
  
  .signup-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .signup-content-container {
    max-width: 95%;
  }
}

/* Captcha Styles */
.captcha-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.captcha-challenge {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  justify-content: space-between;
}

.captcha-svg {
  border-radius: 8px;
  background: white;
  flex-shrink: 0;
  border: none;
  box-shadow: none;
}

.captcha-input {
  width: 180px;
  height: 48px;
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  background: #f9fafb;
  flex-shrink: 0;
}

.captcha-input:focus {
  outline: none;
  border-color: #3b82f6;
  background: white;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.captcha-refresh {
  padding: 8px 16px;
  height: auto;
  min-height: 40px;
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  background: white;
  transition: all 0.2s ease;
  align-self: flex-start;
}

.captcha-refresh:hover {
  background: #f3f4f6;
  color: #374151;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Responsive captcha */
@media (max-width: 768px) {
  .captcha-challenge {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    justify-content: center;
  }

  .captcha-input {
    width: 120px;
  }

  .captcha-refresh {
    align-self: center;
  }
}

/* Signup Page Light Theme Overrides */
.signup-card-light {
  background: transparent !important;
  border: 1px solid rgba(229, 231, 235, 0.3) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.02) !important;
}

.signup-card-light .login-header-enhanced,
.signup-card-light .login-form-content {
  background: transparent !important;
}

/* Force light theme for all labels in signup */
.signup-card-light label,
.signup-card-light .login-label {
  color: #374151 !important;
  font-weight: 600 !important;
}

/* Force light theme for all inputs in signup */
.signup-card-light input,
.signup-card-light .login-input {
  background: #ffffff !important;
  color: #1f2937 !important;
  border: 2px solid #e5e7eb !important;
}

.signup-card-light input::-moz-placeholder, .signup-card-light .login-input::-moz-placeholder {
  color: #9ca3af !important;
  opacity: 1 !important;
}

.signup-card-light input::placeholder,
.signup-card-light .login-input::placeholder {
  color: #9ca3af !important;
  opacity: 1 !important;
}

.signup-card-light input:focus,
.signup-card-light .login-input:focus {
  border-color: #3b82f6 !important;
  background: #ffffff !important;
  color: #1f2937 !important;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1) !important;
}

/* Force light theme for all text and headings */
.signup-card-light h1,
.signup-card-light h2,
.signup-card-light h3,
.signup-card-light .login-brand-name,
.signup-card-light .login-form-title {
  color: #1f2937 !important;
}

.signup-card-light p,
.signup-card-light .login-brand-tagline,
.signup-card-light .login-form-subtitle {
  color: #6b7280 !important;
}

/* Force light theme for buttons */
.signup-card-light button[type="button"]:not(.login-submit-button) {
  color: #6b7280 !important;
  background: transparent !important;
}

.signup-card-light button[type="button"]:hover:not(.login-submit-button) {
  color: #374151 !important;
  background: rgba(243, 244, 246, 0.5) !important;
}

/* Force light theme for links */
.signup-card-light a {
  color: #3b82f6 !important;
}

.signup-card-light a:hover {
  color: #1d4ed8 !important;
}
