﻿/* =========================================================
   LOGIN.CSS - EL FARO 2.0
   Pantalla de acceso
   ========================================================= */

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 72px 18px 24px;
    background: radial-gradient(circle at top, rgba(47, 133, 90, 0.18), transparent 34%), linear-gradient(135deg, #f8fbfa 0%, #eef8f3 100%);
}

.login-card {
    width: 100%;
    max-width: 420px;
    padding: 32px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #d9e5df;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
}

.login-header {
    text-align: center;
    margin-bottom: 26px;
}

.login-logo {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e6f4ee;
    color: #2f855a;
    font-size: 2rem;
}

.login-header h1 {
    margin: 0;
    font-size: 1.7rem;
    font-weight: 800;
    color: #0f172a;
}

.login-header p {
    margin: 6px 0 0;
    color: #6b7280;
    font-size: 0.95rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.login-field label {
    display: block;
    margin-bottom: 7px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1f2937;
}

.login-control {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid #cfe3d8;
    background: #ffffff;
    color: #0f172a;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

    .login-control:focus {
        border-color: #2f855a;
        box-shadow: 0 0 0 4px rgba(47, 133, 90, 0.14);
    }

.login-button {
    height: 48px;
    margin-top: 6px;
    border: none;
    border-radius: 15px;
    background: linear-gradient(135deg, #2f855a, #276749);
    color: white;
    font-size: 0.98rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    box-shadow: 0 10px 22px rgba(47, 133, 90, 0.28);
    cursor: pointer;
}

    .login-button:disabled {
        opacity: 0.7;
        cursor: not-allowed;
    }

.login-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 13px 15px;
    border-radius: 14px;
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    font-size: 0.9rem;
    font-weight: 700;
}


/* =========================================================
   RECORDAR USUARIO
   ========================================================= */

.login-remember {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: -2px;
    margin-bottom: 4px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #334155;
    user-select: none;
}

    .login-remember input[type="checkbox"] {
        width: 17px;
        height: 17px;
        accent-color: #2f855a;
        cursor: pointer;
    }
