
body {
    background: #F5F5DC;
    margin: 0;
    padding: 0;
    font-family: 'Monserrat', sans-serif;
    /* Importante para evitar scroll horizontal en móviles */
    overflow-x: hidden; 
}

header{
    background: linear-gradient(135deg, #0b0705 0%, #010000 50%);
}

.background{
    position: fixed; /* Fijo para que no se mueva al hacer scroll */
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url('../images//mezcalHero.png') no-repeat;
    background-size:cover;
    background-position: center;
    filter:blur(10px);
    transform: scale(1.1);
    z-index: -1;
}
.container-general {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px; /* Espacio para que no toque los bordes en móvil */
    padding-bottom: 100px; /* Espacio para el menú móvil */
}
.form-container {
    position: relative;
    width: 100%;
    max-width: 1000px; /* Ancho máximo en PC */
    height: 550px;
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('../images//mezcalHero.png') no-repeat;
    background-size:cover;
    background-position: center;
    border-radius: 15px;
    margin-top: 5rem;
    display: flex; /* Usamos flex para dividir izquierda/derecha */
    overflow: hidden;
}

.form-container .content{
    width: 50%;
    padding: 60px;
    color: #F5F5DC;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: transparent;
    position: relative;
    z-index: 10;
}

.form-container .logreg-box{
    width: 50%;
    position: relative;
}

.logreg-box .form-box{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: transparent;
    backdrop-filter: blur(20px);
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    color: #F5F5DC;
}

.form-box .input-box{
    position: relative;
    width: 340px;
    height: 50px;
    border-bottom: 2px solid #F5F5DC;
    margin: 30px 0;
}

.input-box {
    position: relative;
    width: 100%;
    height: 50px;
    border-bottom: 2px solid #F5F5DC;
    margin: 40px 0;
}

.input-box input,
.input-box select{
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-size: 16px;
    color: #F5F5DC;
    font-weight: 500;
    padding-right: 28px;
    appearance: none; /* Quita la flecha fea por defecto del select */
    -webkit-appearance: none;
    cursor: pointer;
}

.input-box select option {
    background: #161515;
    color: #F5F5DC;
}

.input-box label{
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-size: 16px;
    font-weight: 500;
    pointer-events: none; 
    transition: 0.5s ease;
    color: #F5F5DC;
}

.input-box input:focus ~ label,
.input-box input:valid ~ label,
.input-box select:focus ~ label,
.input-box select:valid ~ label {
    top: -5px;
    color: #D4AF37;
    font-size: 12px;
} 

.input-box .icon{
    position: absolute;
    top: 13px;
    right: 0;
    font-size: 19px;
    color: #D4AF37;
    pointer-events: none;
}

.content h2{
    font-family: 'Monserrat', sans-serif;
    font-size: 32px;
    line-height: 1;
}


.text-sci h2{
    font-family: 'Monserrat', sans-serif;
    font-size: 40px;
    line-height: 1;
}

.text-sci h2 span{
    font-size: 25px;
    font-weight: 300;
}

.text-sci p{
    font-size: 12px;
    margin-top: 20px;
    opacity: 0.8;

}

.social-icons{
    font-size: 22px;
    color: #F5F5DC;
    margin-right: 10px;
    transition: 0.5s ease;
}
.social-icons a:hover i{
    transform: scale(1.2);
}

.btn-primary {
    width: 100%;
    height: 45px;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    /* Asegúrate de tener tus variables de color o usa el hex */
    background: #D4AF37; 
    color: #161515;
    transition: 0.3s;
}
.btn-primary:hover {
    background: #F5F5DC;
}

/* Estilo del Título del Formulario */
.form-title {
    color: #D4AF37; /* Tu dorado */
    margin-bottom: 20px;
    text-align: center;
    font-family: 'Playfair Display', serif; /* Usamos tu fuente elegante */
    
    /* LA MAGIA RESPONSIVA: */
    /* Mínimo: 24px (Móvil) */
    /* Ideal: 5% del ancho del contenedor */
    /* Máximo: 32px (PC) */
    font-size: clamp(24px, 5vw, 32px); 
}

/* Texto responsivo de confirmación */
.verified-text {
    color: #F5F5DC;
    text-align: center;
    margin-bottom: 20px;
    /* Mínimo 12px, Ideal 4% del ancho, Máximo 16px */
    font-size: clamp(12px, 4vw, 16px); 
    opacity: 0.9;
}

/* Estilos para los mensajes de error en tiempo real */
.error-message {
    color: #ff4d4d; /* Rojo suave */
    font-size: 12px;
    margin-top: 5px;
    display: none; /* Oculto por defecto */
    font-weight: 600;
    text-align: right; /* Alineado a la derecha se ve elegante */
    position: absolute;
    bottom: -20px;
    right: 0;
    transition: all 0.3s ease;
}

/* Clase para pintar el borde del input de rojo si hay error */
.input-box.error {
    border-bottom: 2px solid #ff4d4d;
}

.input-box.error .icon {
    color: #ff4d4d;
}




@media (max-width: 768px) {
    .form-container {
        flex-direction: column; /* Apilar verticalmente */
        height: auto; /* Altura automática para que quepa todo */
        margin-top: 60px; /* Espacio para el header fijo */
    }
    .form-container .content {
        width: 100%;
        height: auto;
        padding: 30px;
        text-align: center;
         /* Poner el texto abajo si prefieres, o quitar order para que quede arriba */
    }

    .social-links{
        justify-content: center;
        align-items: center;
        padding-bottom: 0;
    }

    .form-container .content {
        padding-bottom: 0;
         /* Poner el texto abajo si prefieres, o quitar order para que quede arriba */
    }

    .content h2 {
        display: none; /* Ocultamos el título "Datos de Facturación" para ahorrar espacio */
    }

    .form-container .logreg-box {
        width: 100%;
        height: auto;
        padding: 40px 20px;
        padding-top: 10px;
    }
    
    .text-sci h2 {
        display: block;
        font-size: 24px;
    }
    .text-sci h2 span {
        font-size: 16px;
    }

    /* La bola dorada */
    .indicator {
        border: 6px solid black; /* IMPORTANTE: Color del fondo de tu web */
    }

    /* Las curvas de la bola */
    .indicator::before {
        
        box-shadow: 1px -10px 0 0 black;
        filter: blur(5px); /* Color del fondo de tu web */
    }

    .indicator::after {
        box-shadow: -1px -10px 0 0 black;
        filter: blur(5px); /* Color del fondo de tu web */
    }

}

/* Ajuste opcional específico para móviles muy pequeños */
@media (max-width: 480px) {
    .form-title {
        margin-bottom: 15px; /* Menos espacio en pantallas chicas */
    }
}


