/* EVL Models Login Styles - Compatible with jQuery 3.7.1 */

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

/* Main container */
.evl-login-container {
  min-height: 100vh;
  background: #000;
  position: relative;
  overflow: hidden;
}

/* Background */
.evl-background-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.evl-background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.evl-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.8) 100%);
}

/* Header */
.evl-header {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.0rem;
}

.evl-logo-container .evl-logo {
  height: 2.5rem;
  width: auto;
  margin-left: 3.5rem;
}

.evl-navigation {
  display: none;
  gap: 2rem;
}

.evl-nav-link {
  color: white;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.evl-nav-link2 {
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  content: '';
  border-bottom: 1px solid #EAA515;
  padding-bottom: -20px;
  display: block;
  width: 20px;
  margin-right: 9%;
}

.evl-nav-link2::after {
  
  margin-bottom: -1.5px;
  
}

.evl-nav-link:hover {
  color: #d1d5db;
}

.evl-nav-link:hover::after{
  content: '';
  border-bottom: 1px solid #EAA515;
  padding-bottom: 0.5rem;
  display: block;
  width: 20px;
}

.evl-nav-link2:hover::after{
  
}

.evl-nav-link.evl-nav-active {
  content: '';
  border-bottom: 1px solid #EAA515;
  padding-bottom: 0.5rem;
  display: block;
  width: 20px;
  margin-right: 9%;
  margin-bottom: 2%;
}



@media (min-width: 768px) {
  .evl-navigation {
    display: flex;
  }
}

/* Modal */
.evl-modal-container {
  background-image: url('/images/login/banner_registro.webp');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 120px);
  padding: 1rem;
}

.evl-modal-card {
  width: 100%;
  max-width: 28rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 0.75rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Modal header */
.evl-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.evl-back-button,
.evl-close-button {
  background: none;
  border: none;
  padding: 0.5rem;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 0.375rem;
}

.evl-back-button:hover,
.evl-close-button:hover {
  color: #374151;
  background: rgba(0, 0, 0, 0.05);
}

.evl-spacer {
  flex: 1;
}

/* View management */
.evl-view {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.evl-view.evl-view-active {
  display: block;
}

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

/* View header */
.evl-view-header {
  text-align: center;
  margin-bottom: 2rem;
}

.evl-icon-circle {
  width: 3rem;
  height: 3rem;
  background: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.evl-icon-circle svg {
  color: white;
}

.evl-view-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.evl-view-subtitle {
  color: #6b7280;
  font-size: 0.875rem;
}

/* Buttons */
.evl-btn {
  width: 100%;
  border: none;
  padding: 0.4rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.evl-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.evl-btn-primary {
  background: #000;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.evl-btn-primary:hover:not(:disabled) {
  background: #374151;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.evl-btn-outline {
  background: transparent;
  color: #374151;
  border: 2px solid #d1d5db;
}

.evl-btn-outline:hover {
  border-color: #9ca3af;
  background: rgba(0, 0, 0, 0.02);
}

.evl-btn-outline-black {
  background: transparent;
  color: #000;
  border: 2px solid #000;
}

.evl-btn-outline-black:hover {
  background: #000;
  color: white;
  transform: translateY(-1px);
}

/* Link buttons */
.evl-link-btn {
  background: none;
  border: none;
  color: #000;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.3s ease;
  font-size: inherit;
}

.evl-link-btn:hover {
  color: #374151;
}

.evl-link-underline {
  text-decoration: underline;
}

/* Forms */
.evl-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.evl-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.evl-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.evl-form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
}

.evl-form-input,
.evl-form-select {
  padding: 0.4rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
  color: black;
}

.evl-form-input:focus,
.evl-form-select:focus {
  outline: none;
  border-color: #000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
  color: black;
}

.evl-form-input::placeholder {
  color: #9ca3af;
}

.form-control:focus{
  outline: none;
  border-color: #000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
  color: black;
  background-color: white;
}

/* Password input */
.evl-password-input {
  position: relative;
}

.evl-password-toggle {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  padding: 0 1rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #9ca3af;
  transition: color 0.3s ease;
}

.evl-password-toggle:hover {
  color: #6b7280;
}

/* Phone input */
.evl-phone-input {
  display: flex;
  gap: 0.5rem;
}

.evl-country-select {
  width: 7rem;
  flex-shrink: 0;
}

.evl-phone-number {
  flex: 1;
}

/* Checkbox */
.evl-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.evl-checkbox {
  margin-top: 0.25rem;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.evl-checkbox-label {
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.5;
}

.evl-link {
  color: #000;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.evl-link:hover {
  color: #374151;
}

/* reCAPTCHA */
.evl-recaptcha-placeholder {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.evl-recaptcha-logo {
  margin-left: auto;
  font-size: 0.75rem;
  color: #6b7280;
  font-weight: 500;
}

/* OTP */
.evl-otp-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.evl-otp-inputs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.evl-otp-input,
.evl-otp-input-forgot {
  width: 3rem;
  height: 3rem;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  border: 2px solid #d1d5db;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  background: white;
  color: black;
}

.evl-otp-input:focus,
.evl-otp-input-forgot:focus {
  outline: none;
  border-color: #000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
  color: black;
}

/* Timer */
.evl-timer-section {
  text-align: center;
}

.evl-timer-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1rem;
  font-weight: 500;
}

.evl-resend-btn {
  background: none;
  border: none;
  color: #000;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.3s ease;
}

.evl-resend-btn:hover {
  color: #374151;
}

.evl-resend-message {
  color: #9ca3af;
  font-size: 1.0rem;
}

/* Login options */
.evl-login-options {
  margin-bottom: 2rem;
}

.evl-method-selection {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.evl-method-form {
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Forgot password */
.evl-forgot-password {
  text-align: center;
  margin-top: 1rem;
}

.evl-alternative-method {
  text-align: center;
  margin-top: 1rem;
}

.evl-alternative-method p {
  font-size: 0.75rem;
  color: #6b7280;
}

/* Password requirements */
.evl-password-requirements {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

.evl-password-requirements h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e3a8a;
  margin-bottom: 0.5rem;
}

.evl-password-requirements ul {
  list-style: none;
  font-size: 0.75rem;
  color: #1d4ed8;
  margin: 0;
  padding: 0;
}

.evl-password-requirements li {
  margin-bottom: 0.25rem;
}

/* Footer sections */
.evl-footer-section {
  margin-top: 2rem;
  text-align: center;
}

.evl-register-link {
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.evl-terms-text {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-bottom: 1.5rem;
}

/* App download */
.evl-app-download {
  margin-bottom: 1.5rem;
}

.evl-download-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 1rem;
}

.evl-download-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .evl-download-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

.evl-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  gap: 0.75rem;
  font-weight: 500;
}

.evl-download-btn:hover {
  background: #374151;
  transform: translateY(-1px);
}

.evl-download-btn2:hover {
  transform: translateY(-3px);
}

.evl-download-text {
  text-align: left;
}

.evl-download-small {
  font-size: 0.75rem;
  opacity: 0.9;
}

.evl-download-store {
  font-size: 0.875rem;
  font-weight: 700;
}

/* Model registration */
.evl-model-registration {
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

/* Reset footer */
.evl-reset-footer {
  margin-top: 1.5rem;
  text-align: center;
}

.evl-reset-footer p {
  font-size: 0.75rem;
  color: #6b7280;
}

/* Branding */
.evl-branding {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  z-index: 5;
}

.evl-branding p {
  margin: 0;
  font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .evl-form-row {
    grid-template-columns: 1fr;
  }

  .evl-modal-card {
    margin: 0 0.5rem;
    padding: 1.5rem;
  }

  .evl-otp-inputs {
    gap: 0.375rem;
  }

  .evl-otp-input,
  .evl-otp-input-forgot {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.125rem;
  }
}

@media (max-width: 480px) {
  .evl-header {
    padding: 1rem;
  }

  .evl-modal-card {
    padding: 1.25rem;
  }

  .evl-view-title {
    font-size: 1.25rem;
  }

  .evl-btn {
    padding: 0.75rem 1.25rem;
  }
}

/* Loading states */
.evl-loading {
  opacity: 0.7;
  pointer-events: none;
}

.evl-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

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

/* Focus improvements for accessibility */
.evl-btn:focus,
.evl-form-input:focus,
.evl-form-select:focus,
.evl-checkbox:focus {
  outline: 2px solid #000;
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .evl-modal-card {
    border: 2px solid #000;
  }

  .evl-form-input,
  .evl-form-select {
    border-width: 2px;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


.inputPassword,
.inputNewPassword,
.inputConfirmPassword{
  width: 100%;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

input:-webkit-autofill{
    -webkit-text-fill-color: black !important;
}