/* Contenedor principal */
.container-fluid {
    height: 100vh; /* Que ocupe toda la pantalla */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Evita scroll innecesario */
    padding: 0;
    margin: 0;
    border-radius: 0;
}


.row {
    margin:0 !important;
    padding: 0 !important;
}
.row >  * {
    margin:0 !important;
    padding: 0 !important;
}
/* Secciones de autenticación */
.auth_user, .auth_store {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50vw; /* Mitad de la pantalla */
    height: 100vh; /* Toda la altura de la pantalla */
    text-align: center;
    padding: 40px;
    position: relative; /* Para la superposición */
    background-size: cover;
    background-position: center;
    color: white; /* Color de texto */
    margin: 0;
}

/* Superposición para mejorar la visibilidad del texto */
.auth_user::before, .auth_store::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Oscurece la imagen */
    z-index: 1;

}

/* Contenido sobre la superposición */
.auth_user h1, .auth_store h1, 
.auth_user .buttons, .auth_store .buttons {
    position: relative;
    z-index: 2;
}

/* Fondo específico para cada sección */
.auth_user {
    background-image: url("../img/auth_user_3.png");
}

.auth_store {
    background-image: url("../img/chef_2.png");
}

.auth_user h1, .auth_store h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Estilos de botones */
.auth_user .btn, .auth_store .btn {
    background-color: #6F4515;
    color: #F5F0D7;
    border: 2px solid #4A2C16;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);

}

.auth_user .btn:hover, .auth_store .btn:hover {
    background-color: #895B1E;
    color: #F5F0D7;
    border-color: #6F4515;
}




/* Ajuste de botones */
.buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

/* RESPONSIVIDAD */
@media (max-width: 992px) {
    .auth_user, .auth_store {
        width: 100vw; /* Ocupa todo el ancho */
        height: 50vh; /* Mitad de la altura */
    }

    .container-fluid {
        flex-direction: column; /* Se apilan */
    }

    .auth_user::before, .auth_store::before {
        border-radius: 0; /* Bordes cuadrados para mejor integración */
    }
}

@media (max-width: 992px) {
    .auth_user, .auth_store {
        padding: 20px;
        height: auto;
    }
}


/* Estilos para formularios*/

/* Contenedor del formulario */
.container-client, .container-restaurant {
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    z-index: 0;
}

.container-client::before, .container-restaurant::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}
#container-form{
    z-index: 2;
}

.container-client {
    background-image: url("../img/auth_user_2.png");
}
.container-restaurant {
    background-image: url("../img/chef_2.png");
}

/* Caja del formulario */
.register_user {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
    z-index: 2;
}

/* Título del formulario */
.register_user .title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

/* Campos de entrada */
.form-register {
    display: flex;
    flex-direction: column;
    justify-content: start;
    flex-wrap: nowrap;
    gap: 15px;
}

.form-group{
    display: flex;
    flex-direction: column;
    justify-content: start;
    flex-wrap: nowrap;
}

.form-register label {
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    text-align: left;
}

.form-register input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    transition: border 0.3s ease-in-out;
}

/* Efecto al enfocar */
.form-register input:focus {
    border-color: #ff9800;
    outline: none;
    box-shadow: 0px 0px 5px rgba(255, 152, 0, 0.6);
}

/* Mensajes de error */
.text-danger {
    color: #d9534f;
    font-size: 0.9rem;
    text-align: left;
}

/* Botón mejorado */
.btn-primary {
    background-color: #6F4515;
    color: #F5F0D7;
    border: 2px solid #4A2C16;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    background-color: #895B1E;
    color: #F5F0D7;
    border-color: #6F4515;
}

/* Responsividad */
@media (max-width: 768px) {
    .register_user {
        padding: 20px;
    }
}
.form-restaurante fieldset {
    margin-bottom: 20px;  /* Agrega espacio entre cada fieldset */
    padding: 20px;  /* Puedes agregar un poco de relleno interno si lo deseas */
    border-radius: 8px;  /* Bordes redondeados si es necesario */
    border: 1px solid #ccc;  /* Puedes cambiar el estilo de borde */
}

.form-restaurante fieldset:nth-of-type(1) {
    margin-top: 10px;  /* Espacio extra antes del primer fieldset */
    width: 50%;
}

.form-restaurante fieldset:nth-of-type(2) {
    margin-top: 15px;  /* Espacio extra antes del segundo fieldset */
    width: 50%;
}

.form-restaurante fieldset:nth-of-type(3) {
    margin-top: 20px;  /* Espacio extra antes del tercer fieldset */
}
