/* public/css/login-custom.css */

/* 1. Fondo con Imagen Real y Efecto Oscurecido */
/* 1. Fondo Dashboard (Gris Solido) */
body {
    background-color: #f2f4f5 !important;
    /* Neutral Light */
    background-image: none !important;
    min-height: 100vh;
}

/* 2. Fondo Login (Imagen Real solo si existe el contenedor de login) */
body:has(.fi-simple-main-ctn) {
    background-image: url('../images/login-bg.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}

/* 2. Tarjeta Glassmorphism (Cristal Blanco Limpio) */
.fi-simple-main-ctn .fi-section {
    background-color: rgba(255, 255, 255, 0.85) !important;
    /* Blanco translúcido */
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 1.5rem !important;
    /* Bordes más redondeados y amigables */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
    /* Sombra profunda */
}

/* 3. Textos Oscuros (Alta Legibilidad) */
.fi-simple-main-ctn h1,
.fi-login-header {
    color: #0f172a !important;
    /* Slate-900 oscuro */
    font-weight: 800 !important;
}

.fi-simple-main-ctn label {
    color: #334155 !important;
    /* Slate-700 */
    font-weight: 600 !important;
}

/* 4. Inputs Limpios y Minimalistas */
.fi-simple-main-ctn input {
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    /* Borde gris sutil */
    color: #0f172a !important;
    border-radius: 0.75rem !important;
    transition: all 0.3s ease;
}

.fi-simple-main-ctn input:focus {
    border-color: #4f46e5 !important;
    /* Indigo-600 */
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2) !important;
}

/* 5. Botón Vibrante */
.fi-btn-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%) !important;
    border: none !important;
    border-radius: 0.75rem !important;
    font-weight: bold !important;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.4) !important;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.fi-btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}