 /* Reset para móviles */
 * {
    box-sizing: border-box;
  }
  
  /* Contenedor principal */
  .corporate-container {
    background: #ffffff;
    min-height: 80vh;
    padding: 20px 0;
    position: relative;
    width: 100%;
  }
  
  @media (max-width: 768px) {
    body {
      margin: 0;
      padding: 0;
      overflow-x: hidden;
    }
    
    .container-fluid {
      padding: 0 !important;
      margin: 0 !important;
      max-width: 100vw;
      overflow-x: hidden;
    }
    
    .corporate-container {
      max-width: 100vw;
      overflow-x: hidden;
      padding: 0 !important;
      margin: 0 !important;
      width: 100vw !important;
    }
  }
  
  .panels-container {
    display: flex;
    gap: 20px;
    max-width: 1600px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  /* Estilos de botones principales */
  .btn-login {
    width: 100%;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    margin: 20px auto 0 auto;
    transition: all 0.3s ease;
    background: #dc3545 !important;
    border: none !important;
    color: white !important;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
    display: block;
    text-align: center;
  }
  
  .btn-login:hover {
    background: #c82333 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
  }
  
  /* Panel de información (Manual y Horario) */
  .info-panel-container {
    width: 100%;
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
  }
  
  .info-panel {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }
  
  .manual-link {
    display: inline-block;
    color: #dc3545;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
  }
  
  .manual-link:hover {
    color: #c82333;
    text-decoration: underline;
  }
  
  .manual-link i {
    font-size: 18px;
    margin-right: 5px;
  }
  
  .horario-text {
    color: #dc3545;
    font-size: 17px;
    margin: 0;
    font-weight: 500;
  }
  
  .horario-text i {
    margin-right: 5px;
  }
  
  /* Diseño móvil */
  @media (max-width: 768px) {
    
    .panels-container {
      flex-direction: column !important;
      align-items: center !important;
      gap: 20px !important;
      padding: 0 !important;
      width: 100vw !important;
      margin: 0 !important;
      max-width: 100vw !important;
    }
    
    .auth-state {
      flex-direction: column !important;
      width: 100vw !important;
      max-width: 100vw !important;
      align-items: center !important;
      margin: 0 !important;
      padding: 0 5px !important;
    }
    
    .panel {
      width: 100vw !important;
      max-width: 100vw !important;
      min-width: auto !important;
      margin: 0 !important;
      box-sizing: border-box !important;
    }
    
    .white-panel {
      flex: none !important;
      min-width: auto !important;
      max-width: calc(100vw - 40px) !important;
      padding: 35px !important;
      min-height: auto !important;
      width: calc(100vw - 40px) !important;
      margin: 15px auto !important;
      box-sizing: border-box !important;
      border-radius: 15px !important;
      box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3) !important;
      background: #ffffff !important;
      border: none !important;
      position: relative !important;
      z-index: 2 !important;
    }
    
    .red-panel {
      flex: none !important;
      min-width: auto !important;
      max-width: calc(100vw - 40px) !important;
      padding: 30px 20px !important;
      min-height: auto !important;
      margin: 15px auto !important;
      width: calc(100vw - 40px) !important;
      box-sizing: border-box !important;
      border-radius: 15px !important;
      box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3) !important;
      background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
      color: white !important;
      text-align: center !important;
      position: relative !important;
      z-index: 1 !important;
    }
    
    .register-panel {
      min-width: auto !important;
      max-width: calc(100vw - 40px) !important;
      min-height: auto !important;
      padding: 35px !important;
      width: calc(100vw - 40px) !important;
      margin: 15px auto !important;
      box-sizing: border-box !important;
      border-radius: 15px !important;
      box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3) !important;
      background: #ffffff !important;
      border: none !important;
      position: relative !important;
      z-index: 2 !important;
    }
    
    .login-panel {
      padding: 35px !important;
      width: calc(100vw - 40px) !important;
      margin: 15px auto !important;
      max-width: calc(100vw - 40px) !important;
      box-sizing: border-box !important;
      border-radius: 15px !important;
      box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3) !important;
      background: #ffffff !important;
      border: none !important;
      position: relative !important;
      z-index: 2 !important;
    }
    
    .register-prompt-panel,
    .login-prompt-panel {
      margin-left: 0;
      margin-right: 0;
      margin-top: 0;
      padding: 20px;
    }
    
    /* En móviles, hacer que los paneles de prompt también sean blancos */
    .register-prompt-panel {
      background: #ffffff !important;
      color: #2c3e50 !important;
      border: 2px solid #dc3545;
      border-radius: 12px;
      box-shadow: 0 4px 15px rgba(220, 53, 69, 0.2);
    }
    
    .login-prompt-panel {
      background: #ffffff !important;
      color: #2c3e50 !important;
      border: 2px solid #dc3545;
      border-radius: 12px;
      box-shadow: 0 4px 15px rgba(220, 53, 69, 0.2);
    }
    
    .register-prompt-panel h3,
    .login-prompt-panel h3 {
      color: #dc3545 !important;
    }
    
    .register-prompt-panel p,
    .login-prompt-panel p {
      color: #6c757d !important;
    }
    
    .btn-register-prompt,
    .btn-login-prompt {
      background: #dc3545 !important;
      border: 2px solid #dc3545 !important;
      color: white !important;
    }
    
    .btn-register-prompt:hover,
    .btn-login-prompt:hover {
      background: #c82333 !important;
      border-color: #c82333 !important;
      color: white !important;
    }
    
    /* Ajustar el banner para móviles */
    .banner-container img {
      max-width: 70%;
      height: auto;
      border-radius: 10px;
    }
    
    /* Ajustar el logo municipal específico */
    img.responsive {
      max-width: 80px !important;
      height: auto !important;
    }
    
    /* Ajustar imágenes con estilo inline específico */
    img[style*="max-width: 200px"] {
      max-width: 80px !important;
      height: auto !important;
    }
    
    /* Ajustar logo municipal específico por src */
    img[src*="logo_municipal"] {
      max-width: 80px !important;
      height: auto !important;
    }
    
    /* Ajustar banner superior principal */
    img[src*="baner_superior_principal.jpg"] {
      max-width: 70% !important;
      height: auto !important;
    }
    
    /* Mejorar los campos del formulario en móviles */
    .form-control-modern {
      margin-bottom: 0.5rem !important;
      border: 2px solid #e9ecef !important;
      border-radius: 8px !important;
      font-size: 14px !important;
      transition: all 0.3s ease !important;
      width: 100% !important;
      max-width: 100% !important;
      box-sizing: border-box !important;
      overflow: hidden !important;
    }
    
    .form-control-modern:focus {
      border-color: #dc3545 !important;
      box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
      outline: none !important;
    }
    
    
    /* Evitar desbordamiento en todos los elementos */
    .register-panel,
    .login-panel {
      overflow: hidden;
      word-wrap: break-word;
    }
    
    .register-panel form,
    .login-panel form {
      overflow: hidden;
      max-width: 100%;
    }
    
    /* Centrar mejor los elementos del formulario */
    .register-panel h2,
    .login-panel h2 {
      color: #2c3e50 !important;
      font-size: 1.8rem !important;
      font-weight: 700 !important;
      margin-bottom: 25px !important;
      text-align: center !important;
      width: 100% !important;
      position: relative !important;
    }
    
    .register-panel h2::after,
    .login-panel h2::after {
      content: '' !important;
      position: absolute !important;
      bottom: -8px !important;
      left: 50% !important;
      transform: translateX(-50%) !important;
      width: 50px !important;
      height: 3px !important;
      background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
      border-radius: 2px !important;
    }
    
    .form-label-modern {
      font-weight: 600 !important;
      color: #495057 !important;
      margin-bottom: 8px !important;
      font-size: 14px !important;
      text-align: left !important;
      width: 100% !important;
      display: block !important;
    }
    
    /* Mejorar el espaciado de las filas */
    .row {
      margin-left: 0 !important;
      margin-right: 0 !important;
      width: 100% !important;
      max-width: 100% !important;
      overflow: hidden !important;
    }
    
    .row .col-md-3,
    .row .col-md-4,
    .row .col-md-6,
    .row .col-md-12 {
      padding-left: 0 !important;
      padding-right: 0 !important;
      margin-bottom: 15px !important;
      width: 100% !important;
      max-width: 100% !important;
      float: none !important;
      display: block !important;
      box-sizing: border-box !important;
      overflow: hidden !important;
    }
    
    /* Centrar los botones de radio */
    .form-check {
      text-align: left !important;
      margin-bottom: 8px !important;
      width: 100% !important;
      padding: 15px 25px 15px 35px !important;
      border: 2px solid #e9ecef !important;
      border-radius: 12px !important;
      transition: all 0.3s ease !important;
      background: #f8f9fa !important;
      display: block !important;
      position: relative !important;
    }
    
    .form-check:hover {
      border-color: #dc3545 !important;
      background: #fff5f5 !important;
    }
    
    .form-check-input:checked + .form-check-label {
      color: #dc3545 !important;
      font-weight: 600 !important;
    }
    
    .form-check-input:checked {
      background-color: #dc3545 !important;
      border-color: #dc3545 !important;
    }
    
    .form-check:has(.form-check-input:checked) {
      border-color: #dc3545 !important;
      background-color: rgba(220, 53, 69, 0.1) !important;
    }
    
    /* Mejorar el banner en móviles */
    .banner-container {
      margin-bottom: 10px !important;
      padding: 10px 10px !important;
      width: 100% !important;
      max-width: 100% !important;
      overflow: hidden !important;
      text-align: center !important;
    }
    
    .banner-container img {
      max-width: 70% !important;
      height: auto !important;
      border-radius: 8px !important;
    }
    
    /* Asegurar que el contenedor principal ocupe todo el ancho */
    .container-fluid {
      padding-left: 0;
      padding-right: 0;
      width: 100%;
      margin: 0;
    }
    
    /* Centrar el contenido del formulario */
    .register-panel form,
    .login-panel form {
      width: 100%;
      margin: 0;
      padding: 0;
    }
    
    /* Mejorar la distribución de los campos en móviles */
    .dynamic-fields {
      width: 100%;
    }
    
    .dynamic-fields .row {
      margin: 0;
      width: 100%;
    }
    
    .dynamic-fields .row > [class*="col-"] {
      padding-left: 0;
      padding-right: 0;
      margin-bottom: 15px;
      width: 100%;
      float: none;
      display: block;
    }
    
    /* Hacer que todos los inputs ocupen el ancho completo */
    .mb-3 {
      width: 100%;
      margin-bottom: 15px;
    }
    
    /* Centrar el contenido general */
    .register-panel,
    .login-panel {
      text-align: center;
    }
    
    .register-panel *,
    .login-panel * {
      text-align: left;
    }
    
    .register-panel h2,
    .login-panel h2 {
      text-align: center;
    }
    
    /* Mejorar los campos de radio en móviles */
    .form-check-input {
      position: absolute !important;
      left: 15px !important;
      top: 50% !important;
      transform: translateY(-50%) !important;
      margin: 0 !important;
      flex-shrink: 0 !important;
      width: 16px !important;
      height: 16px !important;
      z-index: 1 !important;
      border: 2px solid #6c757d !important;
      background-color: #fff !important;
      border-radius: 50% !important;
    }
    
    .form-check-input[type="radio"] {
      border-radius: 50% !important;
    }
    
    .form-check-input[type="checkbox"] {
      border-radius: 4px !important;
    }
    
    .form-check-input:checked {
      background-color: #dc3545 !important;
      border-color: #dc3545 !important;
    }
    
    .form-check-input:checked[type="radio"] {
      background-image: none !important;
      background-color: #dc3545 !important;
      border-color: #dc3545 !important;
    }
    
    .form-check-input:checked[type="checkbox"] {
      background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e") !important;
      background-color: #dc3545 !important;
      border-color: #dc3545 !important;
    }
    
    .form-check-input:focus {
      border-color: #dc3545 !important;
      box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
    }
    
    .form-check-label {
      display: block !important;
      width: 100% !important;
      padding: 0 0 0 25px !important;
      margin: 0 !important;
      font-size: 14px !important;
      line-height: 1.4 !important;
      white-space: normal !important;
      overflow: visible !important;
      cursor: pointer !important;
      word-wrap: break-word !important;
      word-break: break-word !important;
    }
    
    /* Estilos específicos para términos y condiciones */
    .form-check-label a {
      color: #dc3545 !important;
      text-decoration: none !important;
      font-weight: 600 !important;
      white-space: normal !important;
      word-wrap: break-word !important;
    }
    
    .form-check-label a:hover {
      text-decoration: underline !important;
    }
    
    /* Asegurar que el texto no se corte */
    .form-check-label span {
      white-space: normal !important;
      display: inline !important;
      word-wrap: break-word !important;
    }
    
    /* Hacer que los campos de tipo de persona ocupen el ancho completo */
    .register-panel .row .col-md-6 {
      width: 100%;
      margin-bottom: 10px;
    }
    
    /* Ajustar el espaciado entre campos */
    .register-panel .mb-3:not(:last-child) {
      margin-bottom: 15px;
    }
    
    
    /* Forzar que todos los elementos respeten el viewport */
    .container-fluid,
    .corporate-container,
    .panels-container,
    .auth-state,
    .panel,
    .white-panel,
    .register-panel,
    .login-panel {
      max-width: 100vw !important;
      overflow-x: hidden !important;
    }
  }
  
  /* Diseño para tablets */
  @media (min-width: 769px) and (max-width: 1024px) {
    .panels-container {
      flex-direction: column;
      align-items: center;
      gap: 20px;
      padding: 0 20px;
    }
    
    .auth-state {
      flex-direction: column;
      width: 100%;
      max-width: 600px;
    }
    
    .panel {
      width: 100%;
      max-width: 600px;
      min-width: auto;
    }
    
    .white-panel {
      flex: none;
      min-width: auto;
      max-width: 600px;
      padding: 40px 35px;
    }
    
    .red-panel {
      flex: none;
      min-width: auto;
      max-width: 600px;
      padding: 25px;
    }
    
    .register-panel {
      min-width: auto;
      max-width: 600px;
      padding: 40px 35px;
    }
    
    .register-prompt-panel,
    .login-prompt-panel {
      margin-left: 0;
      margin-right: 0;
      margin-top: 0;
    }
  }
  
  .auth-state {
    display: flex;
    gap: 20px;
    width: 100%;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  
  .auth-state.hidden {
    opacity: 0;
    transform: translateX(-15px) scale(0.99);
    pointer-events: none;
  }
  
  .panel {
    flex: 1;
    min-width: 280px;
    max-width: 300px;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .white-panel {
    flex: 1.2;
    min-width: 320px;
    max-width: 350px;
    padding: 40px;
    min-height: 550px;
  }
  
  .register-panel {
    min-width: 520px;
    max-width: 580px;
    min-height: 550px;
  }
  
  .register-panel .mb-3 {
    margin-bottom: 0.6rem !important;
    padding-right: 0;
    padding-left: 0;
  }
  
  .register-panel .mb-4 {
    margin-bottom: 1.2rem !important;
  }
  
  .register-panel .row {
    margin-left: 0;
    margin-right: 0;
  }
  
  .register-panel .row .col-md-3,
  .register-panel .row .col-md-4,
  .register-panel .row .col-md-6,
  .register-panel .row .col-md-12 {
    padding-left: 8px;
    padding-right: 8px;
  }
  

  
  .login-panel .mb-3 {
    margin-bottom: 0.8rem !important;
  }
  
  .login-panel .row {
    margin-bottom: 0.3rem;
  }
  
  .red-panel {
    flex: 0.8;
    min-width: 250px;
    max-width: 280px;
    padding: 25px;
    min-height: 400px;
    align-self: center;
  }
  
  .login-panel {
    background: #ffffff;
    border: none;
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
    position: relative;
    z-index: 2;
    padding: 35px;
  }
  
  .login-panel h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
  }
  
  .login-panel h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border-radius: 2px;
  }
  
  .login-panel form {
    margin-bottom: 0;
  }
  
  .login-panel .form-control-modern {
    margin-bottom: 0.5rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
  }
  
  .login-panel .form-control-modern:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    outline: none;
  }
  
  .login-panel .form-label-modern {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
    font-size: 14px;
  }
  
  
  
  .login-panel a:hover {
    color: #c82333 !important;
    text-decoration: underline !important;
  }
  
  .register-panel {
    background: #ffffff;
    border: none;
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
    position: relative;
    z-index: 2;
  }
  
  .register-prompt-panel {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    text-align: center;
    position: relative;
    z-index: 1;
    margin-left: -30px;
    margin-top: 0px;
  }
  
  .register-prompt-panel h3 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: white;
  }
  
  .register-prompt-panel p {
    font-size: 0.8rem;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.3;
  }
  
  .login-prompt-panel {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    text-align: center;
    position: relative;
    z-index: 1;
    margin-right: -30px;
    margin-top: 0px;
  }
  
  .login-prompt-panel h3 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: white;
  }
  
  .login-prompt-panel p {
    font-size: 0.8rem;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.3;
  }
  
  .login-section {
    flex: 1;
    padding: 40px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 0 0 2px #dc3545, 0 8px 25px rgba(220, 53, 69, 0.3);
    border-radius: 12px;
    margin: 10px;
  }
  
  .login-section h2 {
    color: #dc3545;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
  }
  
  .register-section {
    flex: 1;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
  }
  
  .register-section h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
  }
  
  .register-section p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
  }
  
  .auth-section {
    display: none;
    width: 100%;
  }
  
  .auth-section.active {
    display: flex !important;
    width: 100%;
  }
  
  .switch-button {
    background: transparent;
    border: 2px solid white;
    border-radius: 8px;
    padding: 12px 30px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
  }
  
  .switch-button:hover {
    background: white;
    color: #dc3545;
    transform: translateY(-2px);
  }
  
  .btn-register-prompt {
    background: transparent;
    border: 2px solid white;
    border-radius: 6px;
    padding: 6px 16px;
    color: white;
    font-weight: 500;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
  }
  
  .btn-register-prompt:hover {
    background: white;
    color: #dc3545;
  }
  
  .btn-login-prompt {
    background: transparent;
    border: 2px solid white;
    border-radius: 6px;
    padding: 6px 16px;
    color: white;
    font-weight: 500;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
  }
  
  .btn-login-prompt:hover {
    background: white;
    color: #dc3545;
  }
  
  .tab-buttons {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 2px solid #e9ecef;
    gap: 0;
    position: relative;
    z-index: 10;
  }
  
  .tab-btn {
    flex: 1;
    padding: 20px 25px;
    background: transparent;
    border: none;
    color: #6c757d;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 5;
    text-align: center;
  }
  
  .tab-btn:first-child {
    margin-right: 0;
  }
  
  .tab-btn:last-child {
    margin-left: 0;
  }
  
  .tab-btn:hover {
    color: #dc3545;
    background: transparent;
    border: none;
  }
  
  .tab-btn.active {
    color: #dc3545 !important;
    background: transparent !important;
    border: none !important;
    z-index: 10;
  }
  
  .tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: #dc3545;
    border-radius: 2px 2px 0 0;
  }
  
  .tab-btn:not(.active) {
    color: #6c757d !important;
    background: transparent !important;
    border: none !important;
  }

  
  .form-control-modern {
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #ffffff;
    height: 38px;
  }
  
  .form-control-modern:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15);
    outline: none;
  }
  
  .form-control-modern::placeholder {
    color: #6c757d;
    font-size: 14px;
  }
  
  .form-label-modern {
    color: #2c3e50;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 5px;
    display: block;
  }
  
  
  .btn-register {
    background: transparent;
    border: 2px solid white;
    border-radius: 8px;
    padding: 12px 30px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
  }
  
  .btn-register:hover {
    background: white;
    color: #dc3545;
    transform: translateY(-2px);
  }
  
  .btn-corporate:hover {
    background: rgba(220, 53, 69, 0.25);
    border-color: #c82333;
    color: #c82333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
  }
  
  /* Sobrescribir cualquier herencia de .tab-content button */
  .tab-content .btn-corporate {
    float: none !important;
    margin: 0 auto !important;
    display: inline-block !important;
    text-align: center !important;
  }
  
  .option-card {
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 35px 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
  }
  
  .option-card:hover {
    border-color: #dc3545;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.2);
  }
  
  .option-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
  }
  
  .option-card h5 {
    color: #2c3e50;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  .option-card p {
    color: #6c757d;
    font-size: 14px;
    margin: 0;
  }
  
  .info-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-top: 30px;
    text-align: center;
  }
  
  .info-section a {
    color: #dc3545;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
  }
  
  .info-section a:hover {
    color: #c82333;
    text-decoration: underline;
  }
  
  .schedule-info {
    background: linear-gradient(135deg, #dc354515 0%, #c8233315 100%);
    border-left: 4px solid #dc3545;
    padding: 15px 20px;
    margin-top: 15px;
    border-radius: 8px;
    color: #2c3e50;
    font-weight: 600;
  }
  
  .alert-custom {
    border-radius: 10px;
    padding: 15px 20px;
    margin-top: 20px;
    border: none;
  }
  
  .tab-pane {
    display: none;
  }
  
  .tab-pane.active {
    display: block;
    animation: fadeIn 0.3s ease;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  .banner-container {
    text-align: center;
    margin-bottom: 30px;
  }
  
  .banner-container img {
    max-width: 85%;
    height: auto;
    border-radius: 15px;
  }
  
  /* Estilos de escritorio para form-check */
  .form-check {
    padding: 10px 30px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: #f8f9fa;
    margin-bottom: 15px;
    margin-left: 0;
    margin-right: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .form-check:hover {
    border-color: #dc3545;
    background: #fff5f5;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2);
  }
  
  /* Estilos de escritorio para form-check-input */
  .form-check-input {
    margin-right: 12px;
    border: 2px solid #6c757d;
    background-color: #fff;
  }
  
  .form-check-input[type="radio"] {
    border-radius: 50%;
  }
  
  .form-check-input[type="checkbox"] {
    border-radius: 4px;
  }
  
  .form-check-input:checked {
    background-color: #dc3545;
    border-color: #dc3545;
  }
  
  .form-check-input:checked[type="radio"] {
    background-image: none;
    background-color: #dc3545;
    border-color: #dc3545;
  }
  
  .form-check-input:checked[type="checkbox"] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
    background-color: #dc3545;
    border-color: #dc3545;
  }
  
  .form-check-input:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
  }
  
  .form-check-label {
    cursor: pointer;
  }
  
  .dynamic-fields {
    display: none;
    animation: slideDown 0.3s ease;
  }
  
  .dynamic-fields.show {
    display: block;
  }
  
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .info-section {
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
    text-align: center;
    border: 1px solid #e9ecef;
  }
  
  .info-links {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
  }
  
  .info-section a {
    color: #dc3545;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(220, 53, 69, 0.05);
    border-radius: 6px;
    transition: all 0.3s ease;
  }
  
  .info-section a:hover {
    color: #c82333;
    background: rgba(220, 53, 69, 0.1);
  }
  
  .schedule-info {
    background: #f8f9fa;
    border-left: 3px solid #dc3545;
    padding: 15px 20px;
    margin-top: 15px;
    border-radius: 6px;
    color: #2c3e50;
    font-weight: 500;
    font-size: 14px;
  }

/* ========================================
   ESTILOS DE MODALES
   ======================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease-in-out;
  backdrop-filter: blur(5px);
}

.modal-content-success {
  background: white;
  padding: 35px 30px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  max-width: 450px;
  width: 90%;
  position: relative;
  text-align: center;
  animation: fadeInScale 0.3s ease-out;
  overflow: hidden;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  width: 30px;
  height: 30px;
  font-size: 20px;
  color: #999;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  z-index: 10;
  border-radius: 50%;
}

.modal-close:hover {
  background: #f0f0f0;
  color: #333;
  transform: rotate(90deg);
}

.modal-logo-section {
  padding: 0 0 20px;
  background: transparent;
  text-align: center;
}

.modal-logo {
  max-width: 180px;
  height: auto;
}

.modal-body-section {
  padding: 0;
  background: transparent;
}

.modal-title-success {
  color: #2c3e50;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  text-align: center;
}

.modal-message-success {
  color: #555;
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 20px;
  text-align: center;
}

.modal-info-box {
  background: #f8f9fa;
  border-left: 4px solid #17a2b8;
  padding: 12px 15px;
  border-radius: 6px;
  margin-bottom: 25px;
  text-align: center;
}

.modal-info-box p {
  margin: 0;
  color: #495057;
  font-size: 14px;
  line-height: 1.6;
}

.modal-spam-text {
  color: #dc3545;
  font-weight: 600;
  font-size: 13px;
}

.modal-btn-accept {
  background: #BF0911;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  white-space: nowrap;
}

.modal-btn-accept:hover {
  background: #a00810;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(191, 9, 17, 0.3);
}

.modal-btn-accept:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(191, 9, 17, 0.2);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ========================================
   LOADING OVERLAY
   ======================================== */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  backdrop-filter: blur(5px);
}

.loading-content {
  text-align: center;
  background: white;
  padding: 40px 60px;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  animation: fadeInScale 0.3s ease-out;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #dc3545;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loading-text {
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
  margin: 0 0 10px 0;
}

.loading-subtext {
  font-size: 14px;
  color: #7f8c8d;
  display: block;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ========================================
   MODAL USUARIO YA EXISTE
   ======================================== */
.modal-content-existe {
  background: white;
  border-radius: 12px;
  max-width: 450px;
  width: 90%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  animation: fadeInScale 0.3s ease-out;
  position: relative;
  padding: 35px 30px;
}

.modal-title-warning {
  font-size: 20px;
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 15px;
  text-align: center;
}

.modal-message-existe {
  font-size: 15px;
  color: #555;
  text-align: center;
  margin: 0 0 8px;
  line-height: 1.5;
}

.modal-subtitle-existe {
  font-size: 14px;
  color: #6c757d;
  text-align: center;
  margin: 0 0 25px;
  line-height: 1.4;
}

.modal-buttons-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

.modal-btn-recuperar {
  background: #dc3545;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
}

.modal-btn-recuperar:hover {
  background: #c82333;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
  text-decoration: none;
  color: white;
}

.modal-btn-login-existe {
  background: white;
  color: #dc3545;
  padding: 10px 20px;
  border: 2px solid #dc3545;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  white-space: nowrap;
}

.modal-btn-login-existe:hover {
  background: #dc3545;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* ========================================
   MODAL POLÍTICAS DE PRIVACIDAD
   ======================================== */
.modal-content-politicas {
  background: white;
  border-radius: 12px;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  animation: fadeInScale 0.3s ease-out;
  position: relative;
  display: flex;
  flex-direction: column;
}

.modal-close-politicas {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  width: 35px;
  height: 35px;
  font-size: 22px;
  color: #999;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  z-index: 10;
  border-radius: 50%;
}

.modal-close-politicas:hover {
  background: #f0f0f0;
  color: #333;
  transform: rotate(90deg);
}

.modal-header-politicas {
  padding: 25px 30px 15px;
  border-bottom: 2px solid #dc3545;
  background: #f8f9fa;
  border-radius: 12px 12px 0 0;
}

.modal-title-politicas {
  font-size: 20px;
  font-weight: 700;
  color: #2c3e50;
  margin: 0;
  text-align: center;
  padding-right: 35px;
}

.modal-body-politicas {
  padding: 25px 30px;
  overflow-y: auto;
  flex: 1;
  max-height: calc(90vh - 180px);
}

.politicas-content {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  text-align: justify;
}

.politicas-content b {
  color: #2c3e50;
  font-weight: 600;
}

.modal-footer-politicas {
  padding: 20px 30px;
  border-top: 1px solid #e0e0e0;
  text-align: center;
  background: #f8f9fa;
  border-radius: 0 0 12px 12px;
}

.modal-btn-aceptar-politicas {
  background: #28a745;
  color: white;
  border: none;
  padding: 12px 40px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  white-space: nowrap;
}

.modal-btn-aceptar-politicas:hover {
  background: #218838;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

/* Scrollbar personalizado para políticas */
.modal-body-politicas::-webkit-scrollbar {
  width: 8px;
}

.modal-body-politicas::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.modal-body-politicas::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.modal-body-politicas::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Responsive Políticas */
@media (max-width: 768px) {
  .modal-content-politicas {
    max-width: 95%;
    max-height: 95vh;
  }
  
  .modal-title-politicas {
    font-size: 18px;
    padding-right: 40px;
  }
  
  .modal-header-politicas,
  .modal-body-politicas,
  .modal-footer-politicas {
    padding: 20px 15px;
  }
  
  .politicas-content {
    font-size: 13px;
  }
  
  .modal-btn-aceptar-politicas {
    width: 100%;
    padding: 12px 20px;
  }
}

@media (max-width: 576px) {
  .modal-buttons-row {
    flex-direction: column;
  }
  
  .modal-content-politicas {
    max-width: 98%;
    max-height: 98vh;
    border-radius: 8px;
  }
  
  .modal-title-politicas {
    font-size: 16px;
  }
  
  .politicas-content {
    font-size: 12px;
  }
  
  .modal-btn-recuperar,
  .modal-btn-login-existe {
    width: 100%;
    justify-content: center;
  }
}

