/* 🔥 CSS MÍNIMO - SIN TOCAR COLORES/IMÁGENES */
/* 🔥 BODY CON FONDO + OVERLAY LILA (igual que index.php) */
body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;

    /* Mismo fondo que el Hero de index.php */
    background:
            linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.65) 100%),
            url('../img/logo/index-login-2.jpg') center/cover no-repeat;

    font-family: 'Inter', system-ui, sans-serif;
    color: #333;
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 18px;
    max-width: 340px;
    width: 100%;
}

/* Inputs compactos */
.form-control {
    height: 32px;
    font-size: 0.85rem;
    padding: 5px 8px;
}

/* Botones compactos */
.btn-lg {
    height: 32px !important;
    font-size: 0.85rem !important;
    padding: 0 !important;
    line-height: 1.2 !important;
}

/* 🔥 ARREGLO DEL OJO - INPUT GROUP */
.input-group-sm > .form-control {
    height: 32px;
    padding: 5px 8px;
    font-size: 0.85rem;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.input-group-sm > .input-group-text {
    height: 32px;
    padding: 0 10px;
    border-left: 0;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    cursor: pointer;
}

.input-group-sm > .input-group-text i {
    font-size: 0.9rem;
    line-height: 1;
    width: 16px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Espaciados mínimos */
.mb-3 { margin-bottom: 6px !important; }
.mb-4 { margin-bottom: 8px !important; }
.mt-4 { margin-top: 8px !important; }

/* Texto pequeño */
.text-link,
.credenciales {
    font-size: 0.85rem;
}
.credenciales { margin-top: 6px !important; }

/* Modal scrollable */
.modal-body {
    max-height: 70vh;
    overflow-y: auto;
}