/*landing de registro de distribuidores - ferias*/
@font-face {
    font-family: 'Buckey';
    src: url('/wp-content/themes/woodstock-child/includes/landing_registro/fonts/Buckey.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Estilo general */
.jaltech-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    background: url('/wp-content/uploads/2025/08/bg-form-feria-scaled.png') no-repeat center center;
    color: #ffffff;
    background-size: cover;
    margin: 0;
    width: auto;
    height: 100vh;
    position: relative;
    flex-direction: row;
}

.jaltech-left-section, .jaltech-form-section {
    flex: 1;
    margin: 50px;
}

.jaltech-left-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%; /* Ocupa toda la altura disponible */
    justify-content: center; /* Centra el contenido verticalmente */
}

.jaltech-image-section {
    display: flex;
    flex-direction: column; /* Imágenes una sobre otra */
    justify-content: space-between; /* Distribuye el espacio entre imágenes */
    align-items: center;
    margin: 200px 0 200px 0;
}

.jaltech-image-section img:not(:nth-child(0)) {
    width: 80%; /* Asegura que todas las imágenes tengan el mismo ancho */
    flex-shrink: 0; /* Evita que las imágenes se compriman */
}
.jaltech-image-section img:not(:nth-child(1)) {
    width: 80%; /* Asegura que todas las imágenes tengan el mismo ancho */
}
/* Si quieres que la última imagen esté específicamente en el bottom */
.jaltech-image-section img:last-child {
    width: 80%;
    margin-top: auto;
}

.jaltech-form-section {
    padding: 20px;
    align-items: center;
    width: 400px !important;
}

.jaltech-logo {
    position: absolute;
    top: 10%;
    right: 10px;
    transform: translateY(-50%);
    max-width: 200px;
}

.jaltech-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start !important;
    width: 400px;
}

.jaltech-label {
    color: #ffffff;
    font-weight: bold;
    margin: 10px 0 5px;
    text-transform: capitalize;
}

.jaltech-form input[type="text"],
.jaltech-form input[type="email"],
.jaltech-form input[type="tel"],
.jaltech-form input[type="date"] {
    padding: 5px;
    margin-bottom: 5px;
    border-radius: 10px;
    background-color: #ffffff;
    color: #000000;
    width: 100%;
    height: 40px;
    align-items: flex-start !important;
}

.jaltech-name-fields-form {
    display: flex;
    gap: 10px;
    align-items: flex-start; 
    width: 100%;
}

.jaltech-name-field {
    flex: 1;
    display: flex;
    flex-direction: column; 
}

.jaltech-label {
    text-align: left; 
}

.jaltech-checkbox {
    display: flex;
    align-items: center; 
    margin: 20px 0;
}

.jaltech-checkbox-input {
    margin-right: 10px;
}

.jaltech-checkbox-label {
    color: #ffffff;
    text-align: left; 
}

.jaltech-button {
    background-color: #FF00FF;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    margin-bottom: 20px; /* Espacio adicional en el botón */
}

.jaltech-button:hover {
    background-color: #FF00FF;
}

.jaltech-thank-you-message {
    text-align: center;
    padding: 20px;
    margin-top: 20px;
}

.jaltech-thank-you-message p {
    font-size: 18px;
    color: #FF00FF;
}

/* Estilo para dispositivos de tablet y móvil */
@media (max-width: 1024px) {
    .jaltech-container {
        flex-direction: column;
        height: auto; 
        min-height: 100vh; 
        overflow-y: auto; 
    }

    .jaltech-left-section {
        width: 95%;
        margin: 0;
        height: auto; 
        margin-bottom: 30px; 
    }
    
    .jaltech-form-section {
        width: 95%;
        margin: 0;
        margin-bottom: 150px; 
        padding-top: 0px;
        padding-bottom: 30px; 
    }
    
    .jaltech-image-section {
        height: auto; 
        gap: 20px; 
        margin: 0;
    }
    
    .jaltech-image-section img:last-child {
        width: 95%;
        position: fixed;
        bottom: 0px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1000; 
        pointer-events: none; 
        opacity: 0.95; 
    }
    
    .jaltech-image-section img:last-child.solid {
        opacity: 1;
    }
    
    .jaltech-form {
        width: 95%;
    }
    
    .jaltech-logo {
        display: none;
    }
    .jaltech-button {
        margin-bottom: 60px; 
        padding: 15px 25px; 
        font-size: 18px;
        position: relative; 
        z-index: 600; 
        background-color: #FF00FF !important; 
        box-shadow: 0 4px 12px rgba(255, 0, 255, 0.3); 
    }
}
@media (max-width: 1024px) {
    .jaltech-container-alt {
        padding-bottom: 120px; 
    }
    
    .jaltech-image-section img:last-child.fixed-bottom {
        position: fixed;
        bottom: 0px;
        left: 50%;
        transform: translateX(-50%);
        width: 95%;
        max-width: 400px;
        z-index: 100; 
        pointer-events: none; 
    }
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden; /* Evita scroll horizontal */
}