* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --red-color: #C53C2B;
    --dark-blue-color: #A31C12;
    --grey-highlight: #5E6787;
}

body {
    font-family: "Rubik", sans-serif;
    position: relative;
}

   .modal-premium-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-premium-content {
  background-color: #fff;

  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  position: relative;
  overflow-y: auto;  
}

.modal-premium-content h2 {
  margin-top: 0;
}

.boton-registro {
  display: inline-block;
  margin-top: 15px;
  background-color: #0073aa;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 4px;
}

.cerrar-modal {
  background: none;
  border: none;
  color: #666;
  font-size: 14px;
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

.general-container-modal-premium {
    display: grid;
    grid-template-columns: 2fr 1.5fr;
    height: 90vh;
}


.right-container {
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    position: relative;

}


.left-container {
    position: relative;
    background: url("https://thelogisticsworld.com/wp-content/uploads/2025/06/backtlw.webp") center/cover no-repeat; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
}


.left-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(137deg, #0044D4 0%, #00226B 52%);
    z-index: 0;
    opacity: 0.9;
}


.left-container > * {
    position: relative;
    z-index: 1;
}


/* Right Content */
.text-container img {
    width: 54px;
}

.text-container h2 {
    font-size: 38px;
    font-weight: 600;
    color: white;
    padding: 20px 0px;
}

.text-container p {
    font-size: 23px;
    color: white;
}


/* Left content */

.close-btn{
    position: absolute;
    top: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color:#000;
    
    
}
.close-btn img{
    width: 10px;
    height: 100%;
    rotate: 90deg;
}
.title-mobile{
    display: none;
}
.form-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logo-tft img{
    width: 246px;
    padding-bottom: 32px;
}

/* Form */
.hero_input_container h3{
    color: #7B7D83;
    display: flex;
    font-weight: 400;
    font-size: 16px;
 }
.hero_input_container p{
    color: red;
    font-size: 12px;
    font-style: italic;
    padding: 8px 0px;
    
 }

.hero_form_input_wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 16px;
}

input:-webkit-autofill {
    background-color: transparent !important; /* Evita el fondo amarillo */
    box-shadow: 0 0 0px 1000px white inset !important; /* Mantiene el fondo blanco */
    color: #000 !important; /* Asegura que el texto sea legible */
}

input:not(:placeholder-shown) {
    background-color: #fff !important; /* Mantiene el fondo blanco */
    color: #000 !important;
}

textarea:not(:placeholder-shown) {
    background-color: #fff ; /* Mantiene el fondo blanco */
    color: #000 !important;
}


.input-group {
    display: flex;
    flex-direction: column;
    position: relative;
   
}

.input-group h3 {
    padding-bottom: 8px;
}

h4{
    font-size: 12px;
    font-family: 'Rubik';
    color: #7B7D83;
    font-style: italic;
    font-weight: 400;
    padding-bottom: 8px;

}

.input-error {
    color: red;
    display: none;
  }
  
  input.input-error {
    border: 1px solid red;
  }

.hero_input {
    border: 1px solid #C8CBCE; 
    color: #C8CBCE;
    padding: 10px;
    border-radius: 10px;
    font-size: 16px;
    width: 100%;
    background-color: transparent; 
    font-family: 'Rubik';
  
}


.hero_input::placeholder {
    color: #C8CBCE;
    opacity: 1; 
}


.hero_input:focus {
    outline: none;
    border-color: #7B7D83; 
}
/* Estilos específicos para el select de cargo */
.cargo-select {
    width: 100%;
    padding: 10px 30px 10px 10px; 
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    appearance: none; 
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Estilo para la flecha */
.arrow-icon {
    position: absolute;
    right: 10px;
    top: 21px;
    transform: translateY(-50%);
    transform-origin: center; 
    transition: transform 0.3s ease;
    pointer-events: none; 
}

/* Cuando el select tiene foco, la flecha gira 180 grados */
.cargo-select:focus + .input-error + .arrow-icon {
    transform:  rotate(180deg); 
}

#cargoSelect {
    border: 1px solid #C8CBCE;
   
    padding: 10px;
    border-radius: 10px;
    font-size: 16px;
    width: 100%;
    background-color: transparent;
    appearance: none; 
    -webkit-appearance: none; 
    -moz-appearance: none;   
  
}

#cargoSelect:focus{
    color: #7B7D83;
}
#cargoSelect.selected {
    color: black;
}

.checkbox-label {
    color:  #7B7D83;
}



.full-width {
    grid-column: span 2;
}
.checkbox-text {
    padding-top: 16px ;
   
}
.checkbox-text h3 {
    padding-bottom: 8px;
}
.checkbox-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-bottom: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
}
.send-form-button {
    display: block;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    min-width: 290px;
    padding: 15px 24px;
    color: white;
    background-color: #7B7D83;
    font-size: 18px;
    margin-top: 24px;
    margin: 20px auto;
    cursor: pointer;
    position: relative;
    
}
.loader {
    border: 4px solid  #f3f3f3; /* Gris claro */
    border-top: 4px solid rgb(0, 51, 160); /* Color azul */
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 2s linear infinite;
    position: absolute;
    top: 30%;
    left: 48%;
    transform: translate(-50%, -50%);
   
}

#loader {
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@media (max-width: 768px) {
    .hero_form_input_wrapper {
       display: flex;
       flex-direction: column;
    }

    .checkbox-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .general-container-modal-premium{
        grid-template-columns: 1fr;
        height: 100vh;
    }
    .left-container{
        display: none;
    }
    .hero_input_container h3{
        font-size: 14px;
    }
    .logo-tft img{
        width: 152px;
    }
    .title-mobile {
        display: block;
        padding-bottom: 12px;
        font-size: 18px;
    }

    .modal-premium-content {
  background-color: #fff;

  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  position: relative;
}
      .right-container {
    height: auto;
    max-height: 100dvh; 
    overflow-y: auto;  
    width: 100%;
    justify-content: start;
  }

  .close-btn {
    top: 15px;
    right: 15px;
  }
    
}
