
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

@keyframes neon-glow {
  0% {
    box-shadow: 
      0 0 20px rgba(0, 240, 255, 0.3),
      0 0 40px rgba(160, 0, 255, 0.2),
      0 0 60px rgba(255, 0, 170, 0.1);
  }
  100% {
    box-shadow: 
      0 0 30px rgba(0, 240, 255, 0.5),
      0 0 60px rgba(160, 0, 255, 0.3),
      0 0 90px rgba(255, 0, 170, 0.2);
  }
}

.verification-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #ffffff;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.verification-close:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}
.verification-close svg {
  width: 20px;
  height: 20px;
  display: block;
}

.verification-title {
  margin: 0 0 30px;
  font-size: 28px;
  font-weight: 800;
  color: #00f0ff;
  text-align: center;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.verification-step {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-label {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.phone-input-container {
  display: flex;
  gap: 10px;
  align-items: center;
}

.country-code-input {
  background: #1a1a1a;
  border: 2px solid #333333;
  border-radius: 8px;
  padding: 12px 16px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  width: 80px;
  text-align: center;
  transition: all 0.3s ease;
}

.country-code-input:focus {
  border-color: #00f0ff;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
  outline: none;
}

.phone-number-input {
  background: #1a1a1a;
  border: 2px solid #333333;
  border-radius: 8px;
  padding: 12px 16px;
  color: #ffffff;
  font-size: 16px;
  flex: 1;
  transition: all 0.3s ease;
}

.phone-number-input::placeholder {
  color: #666666;
}

.phone-number-input:focus {
  border-color: #00f0ff;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
  outline: none;
}

.proceed-btn {
  background: linear-gradient(135deg, #00f0ff, #a000ff);
  color: #000000;
  font-weight: bold;
  padding: 14px 30px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 10px;
}

.proceed-btn:hover {
  background: linear-gradient(135deg, #00d4e6, #8a00e6);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 240, 255, 0.3);
}

.proceed-btn:disabled {
  background: #333333;
  color: #666666;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* OTP Step Styles */
.otp-info {
  color: #cccccc;
  font-size: 14px;
  margin: 0 0 20px;
  text-align: center;
}

.otp-input-container {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}

.otp-input {
  width: 45px;
  height: 45px;
  background: #1a1a1a;
  border: 2px solid #333333;
  border-radius: 8px;
  text-align: center;
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.otp-input:focus {
  border-color: #00f0ff;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
  outline: none;
}

.otp-input.filled {
  border-color: #00f0ff;
  background: rgba(0, 240, 255, 0.1);
}

.otp-actions {
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.resend-btn {
  background: transparent;
  color: #00f0ff;
  border: 2px solid #00f0ff;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  flex: 1;
}

.resend-btn:hover {
  background: rgba(0, 240, 255, 0.1);
  transform: translateY(-2px);
}

.verify-btn {
  background: linear-gradient(135deg, #00f0ff, #a000ff);
  color: #000000;
  font-weight: bold;
  padding: 12px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
  flex: 1;
}

.verify-btn:hover {
  background: linear-gradient(135deg, #00d4e6, #8a00e6);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 240, 255, 0.3);
}

.verify-btn:disabled {
  background: #333333;
  color: #666666;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Verification Modal Responsive Design */
@media (max-width: 768px) {
  .verification-modal-content {
    padding: 30px 20px;
    max-width: 350px;
    width: 95%;
    margin: 0 10px;
  }
  
  .verification-title {
    font-size: 24px;
    margin-bottom: 25px;
  }
  
  .phone-input-container {
    flex-direction: column;
    gap: 15px;
  }
  
  .country-code-input {
    width: 100%;
    text-align: left;
  }
  
  .phone-number-input {
    width: 100%;
  }
  
  .otp-input-container {
    gap: 8px;
  }
  
  .otp-input {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .otp-actions {
    flex-direction: column;
    gap: 15px;
  }
  
  .resend-btn,
  .verify-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .verification-modal-content {
    padding: 25px 15px;
    max-width: 320px;
    width: 98%;
    margin: 0 5px;
  }
  
  .verification-title {
    font-size: 20px;
    margin-bottom: 20px;
  }
  
  .input-label {
    font-size: 14px;
  }
  
  .country-code-input,
  .phone-number-input {
    padding: 10px 12px;
    font-size: 14px;
  }
  
  .proceed-btn {
    padding: 12px 25px;
    font-size: 14px;
  }
  
  .otp-input {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
  
  .otp-info {
    font-size: 12px;
  }
  
  .resend-btn,
  .verify-btn {
    padding: 10px 15px;
    font-size: 13px;
  }
}

@media (max-width: 360px) {
  .verification-modal-content {
    padding: 20px 12px;
    max-width: 300px;
  }
  
  .verification-title {
    font-size: 18px;
  }
  
  .otp-input-container {
    gap: 6px;
  }
  
  .otp-input {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }
}
.modal-content,
.verification-modal-content {
  background: #0a0a0a;
  border-radius: 20px;
  padding: 40px;
  max-width: 400px;
  width: 90%;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 2px solid transparent;
  background-clip: padding-box;
  background-origin: border-box;
  background-image:
    linear-gradient(#0a0a0a, #0a0a0a),
    linear-gradient(135deg, #00f0ff 0%, #a000ff 50%, #ff00aa 100%);
  animation: neon-glow 2s ease-in-out infinite alternate;
  color: #f8fafc;
}
.register-content {
  max-height: 90vh;
  overflow-y: auto;
  padding-bottom: 24px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}
.register-content::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}
.login-close,
.register-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  line-height: 0;
}
.login-close svg,
.register-close svg {
  width: 24px;
  height: 24px;
  display: block;
}
.modal-content h2,
.verification-modal-content h2 {
  margin: 0 0 32px;
  font-size: 28px;
  font-weight: 800;
  color: #00f0ff;
  text-align: center;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}
.login-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.login-label {
  color: #f8fafc;
  font-weight: 600;
  font-size: 14px;
}
.login-input {
  background: #0f172a;
  border: 2px solid #1e293b;
  border-radius: 12px;
  padding: 12px 16px;
  color: #f8fafc;
  font-size: 15px;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}
.login-input::placeholder {
  color: #94a3b8;
}
.login-input:focus {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.25);
  outline: none;
}
.login-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}
.forgot-row {
  display: flex;
  justify-content: flex-end;
}
.forgot-link {
  font-size: 14px;
}
.create-account-btn {
  background: none;
  border: none;
  color: #0ea5e9;
  font-weight: 600;
  padding: 0;
}
.helper-label-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.helper-label {
  color: #94a3b8;
  font-size: 14px;
}
.helper-btn {
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: #f8fafc;
  font-weight: 600;
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  width: 100%;
  letter-spacing: 0.02em;
}
.primary-btn {
  background: rgba(255, 255, 255, 0.08);
}
.secondary-btn {
  background: rgba(255, 255, 255, 0.04);
}
.helper-btn:hover {
  border-color: rgba(14, 165, 233, 0.6);
  background: rgba(14, 165, 233, 0.08);
  box-shadow: 0 10px 20px rgba(13, 110, 253, 0.2);
}
.helper-btn:active {
  transform: translateY(1px);
}
.otp-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.or-label {
  font-size: 14px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.4em;
}
.text-btn {
  background: transparent;
  border: none;
  color: #0ea5e9;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
}
.text-btn:hover {
  text-decoration: underline;
}
.text-muted {
  color: #94a3b8;
  font-size: 14px;
}
.register-input-row {
  display: flex;
  gap: 10px;
}
.register-input-row .country-code-input {
  flex: 0 0 90px;
  text-align: center;
}
.register-input-row .register-whatsapp-input {
  flex: 1;
}



/* User dropdown (nav) */
.user-dropdown{position:relative;display:inline-block}
.user-icon-btn{background:none;border:none;cursor:pointer;padding:8px 12px;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:all .3s ease;font-size:24px;color:#fff}
.user-icon-btn:hover{background:rgba(255,255,255,.1);transform:scale(1.1)}
.user-dropdown-menu{position:absolute;top:100%;right:0;margin-top:8px;background:rgba(20,20,30,.95);backdrop-filter:blur(10px);border-radius:12px;min-width:200px;box-shadow:0 8px 24px rgba(0,0,0,.3),0 0 0 1px rgba(255,255,255,.1);opacity:0;visibility:hidden;transform:translateY(-10px);transition:all .3s ease;z-index:1000;overflow:hidden}
.user-dropdown.active .user-dropdown-menu{opacity:1;visibility:visible;transform:translateY(0)}
.user-dropdown-header{padding:16px;border-bottom:1px solid rgba(255,255,255,.1);font-weight:600;color:#fff;font-size:14px}
.user-dropdown-item{display:flex;align-items:center;gap:12px;padding:12px 16px;color:#fff;text-decoration:none;background:none;border:none;width:100%;text-align:left;cursor:pointer;transition:all .2s ease;font-size:14px;font-family:inherit}
.user-dropdown-item:hover{background:rgba(255,255,255,.1)}
.logout-btn{color:#ff6b6b}
.logout-btn:hover{background:rgba(255,107,107,.1);color:#ff5252}
.signin.hidden{display:none!important}
.nav-cta .user-dropdown{display:none}
