/* assets/css/login-register.css */

/* Variables de Tema Claro (Herencia de main.css si es necesario) */
:root[data-theme="light"] {
    --primary-color: rgb(224, 0, 52);
    --primary-hover: rgb(200, 0, 45);
    --primary-active: rgb(180, 0, 38);
    --background-color: #FFFFFF;
    --notification-danger: #FF3860;
    --text-color: #363636;
    --box-background: rgba(255, 255, 255, 0.8);
    --box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    --box-border-radius: 8px;
}

/* Contenedor Principal */
.background-image-login {
    background-image: url("../img/Campus.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem; /* Para evitar desbordamientos en móviles */
}

/* Estilos Generales del Body */
body {
    background: var(--background-color);
    color: var(--text-color);
    font-family: 'Inter', 'SF Pro', 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
}

/* Personalización de Botones */
.button.is-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

.button.is-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.button.is-primary:focus,
.button.is-primary:active {
    background-color: var(--primary-active);
    border-color: var(--primary-active);
}

.button.is-light {
    background-color: #f5f5f5;
    border-color: #dbdbdb;
    color: #363636;
}

.button.is-light:hover {
    background-color: #e0e0e0;
    border-color: #d0d0d0;
}

.button.is-light:focus,
.button.is-light:active {
    background-color: #c0c0c0;
    border-color: #b0b0b0;
}

/* Notificaciones */
.notification.is-danger {
    background-color: var(--notification-danger);
    color: #ffffff;
}

/* Estilos del Formulario */
.box.form-container {
    background-color: var(--box-background);
    border-radius: var(--box-border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    width: 100%;
    max-width: 400px; /* Limitar el ancho máximo para mejor apariencia */
}

.form-container .title {
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Campos del Formulario */
.field {
    margin-bottom: 1rem;
}

.input, .select {
    height: 38px;
    line-height: normal;
    border-radius: 4px;
    box-sizing: border-box;
}

.input {
    background-color: white;
    border: 1px solid #ccc;
    padding: 0.5rem;
}

.input:hover, .select:hover {
    background-color: #eaf1fb;
}

.label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

/* Responsividad */
@media screen and (max-width: 768px) {
    .background-image-login {
        padding: 1rem;
    }

    .box.form-container {
        padding: 1.5rem;
        margin: 0 auto;
        width: 100%;
        box-sizing: border-box;
    }
}
