/* login.css - DQ Final Glass Version */

/* Importamos FontAwesome si no lo tienes en el base */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

.login-page {
    min-height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important; 
}

/* LA TARJETA AMPLIADA */
.login-card {
    width: 95%; /* Más adaptable */
    max-width: 480px; /* Aumentado (antes 400px) */
    background: rgba(255, 255, 255, 0.45) !important; /* Cristal translúcido */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 60px 45px; /* Aumentado para mejor distribución */
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.05);
    text-align: center;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        inset 0 2px 4px 0 rgba(255, 255, 255, 0.3); /* Luz interna superior */
    transition: transform 0.3s ease;
}

.login-card:hover {
    transform: translateY(-5px); /* Movimiento sutil de poder */
}

/* Scoped a .login-card para no chocar con .card-header de otros CSS */
.login-card .card-header {
    display: block;
    padding: 0;
    border-bottom: none;
    background: transparent;
    text-align: center;
    margin-bottom: 0;
}

.login-card .card-header h1 {
    font-size: 2.2rem;
    color: #1e1b4b;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.login-card .card-header p {
    color: #6b7280;
    font-size: 0.95rem;
    margin-bottom: 40px;
}

/* FORMULARIO Y DISTRIBUCIÓN */
.login-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Contenedor principal de los inputs al 93% */
.input-field-group {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    margin-bottom: 20px; /* Espacio uniforme */
}

/* Iconos para Email y Password */
.input-icon {
    position: absolute;
    left: calc(3.5% + 15px); /* Centrado dinámico al 93% */
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 1rem;
    pointer-events: none;
    z-index: 10;
}

/* Inputs centrados al 93% y con padding para iconos */
.form-input {
    width: 93% !important; /* */
    height: 52px;
    background: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 12px;
    padding: 0 15px 0 45px !important; /* Espacio extra a la izquierda para el icono */
    color: #2D2A26;
    font-size: 0.95rem;
    outline: none;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.form-input:focus {
    background: #ffffff !important;
    border-color: #1e1b4b !important;
    box-shadow: 0 0 0 4px rgba(30, 27, 75, 0.05);
}

/* OPCIONES Y BOTONES AL 93% */
.login-card .form-actions {
    padding: 0;
    background: transparent;
    border-top: none;
    align-items: center;
    width: 93%;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin: 5px 0 30px 0;
    color: #6b7280;
}

.forgot-link {
    color: #6b5e4c; /* Tono tierra suave */
    text-decoration: none;
    font-weight: 700;
}

/* Botón con color Tierra Suave (No fuerte) */
.btn-primary-kr {
    width: 93% !important; /* */
    height: 54px;
    background-color: #6b5e4c !important; /* */
    color: white !important;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary-kr:hover {
    background-color: #5a4f40 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Badge de eficiencia al 93% y centrado */
.efficiency-badge {
    width: 93%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    font-size: 0.82rem;
    color: #27ae60;
    font-weight: 700;
}