body {
    font-family: 'Montserrat', sans-serif;
}

/* ── VARIABLES — mismas que publico.css ─────────────────────────── */
:root {
    --lw-primary: #1a392a;
    --lw-accent: #84cc16;
    --lw-light-bg: #f8fafc;
    --lw-white: #ffffff;
    --lw-text-dark: #1e293b;
    --lw-text-muted: #64748b;
    --lw-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* ── FONDO ──────────────────────────────────────────────────────── */
.bg-loanware-gradient {
    background: linear-gradient(135deg, #f0f4f2 0%, #d1dbd6 100%);
}

/* ── CARD DEL FORMULARIO ────────────────────────────────────────── */
.glass-card {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(26, 57, 42, 0.08);
    border-radius: 2rem;
}

/* ── INPUTS ─────────────────────────────────────────────────────── */
.glass-card input {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88rem;
    color: var(--lw-text-dark);
    background: var(--lw-light-bg);
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 14px 14px 44px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.glass-card input:focus,
.input-focus:focus {
    outline: none;
    border-color: var(--lw-accent);
    box-shadow: 0 0 0 3px rgba(132, 204, 22, 0.15);
    background: white;
}

.glass-card input::placeholder {
    color: #94a3b8;
}

/* ── BOTÓN PRINCIPAL ────────────────────────────────────────────── */
.btn-loanware {
    background-color: var(--lw-primary);
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 0.08em;
    border: none;
    border-radius: 12px;
    padding: 15px;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.88rem;
}

.btn-loanware:hover {
    background-color: #2d5a43;
    box-shadow: 0 10px 20px rgba(26, 57, 42, 0.25);
    transform: translateY(-2px);
}

.btn-loanware:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ── NAV BOTÓN INICIO ───────────────────────────────────────────── */
nav .border-\[\#09FF00\],
nav button {
    border-color: var(--lw-accent) !important;
    color: var(--lw-accent) !important;
}

nav button:hover {
    background-color: var(--lw-accent) !important;
    color: var(--lw-primary) !important;
}

/* ── ICONOS DE FEATURES (laptop, tools, camera) ─────────────────── */
.border-b-4 {
    border-color: var(--lw-accent) !important;
}

/* ── TARJETAS DE ESTADÍSTICAS ───────────────────────────────────── */
.stat-login-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--lw-shadow);
    border-left: 4px solid var(--lw-accent);
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-login-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* ── ALERTA DE ERROR ────────────────────────────────────────────── */
#alertaError {
    background: rgba(239, 68, 68, 0.08);
    border: 1.5px solid rgba(239, 68, 68, 0.25);
    color: #dc2626;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    display: none;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

#alertaError.flex {
    display: flex;
}

/* ── LINKS ──────────────────────────────────────────────────────── */
.glass-card a {
    color: var(--lw-primary);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s;
}

.glass-card a:hover {
    color: var(--lw-accent);
}

/* ── ACCESIBILIDAD ──────────────────────────────────────────────── */
.accessibility-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
}

.btn-access {
    width: 65px;
    height: 65px;
    background: var(--lw-primary) !important;
    border: 2px solid var(--lw-accent);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(132, 204, 22, 0.3);
    transition: all 0.3s ease;
    animation: pulse-neon 2s infinite;
}

.btn-access i {
    color: var(--lw-accent) !important;
    font-size: 1.8rem !important;
    text-shadow: 0 0 8px rgba(132, 204, 22, 0.6);
}

.btn-access:hover {
    transform: scale(1.1);
    background: var(--lw-accent) !important;
}

.btn-access:hover i {
    color: var(--lw-primary) !important;
}

.access-menu {
    position: absolute;
    bottom: 80px;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    width: 250px;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    display: none;
    flex-direction: column;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.access-menu.active {
    display: flex;
}

.access-menu h4 {
    color: var(--lw-primary);
    text-align: center;
    font-weight: 800;
    margin-bottom: 5px;
    font-family: 'Montserrat', sans-serif;
}

.access-section {
    background: rgba(26, 57, 42, 0.05);
    padding: 10px;
    border-radius: 12px;
}

.access-section small {
    font-size: 0.7rem;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.08em;
}

.access-section button {
    width: 100%;
    background: white;
    border: none;
    padding: 8px;
    margin-top: 5px;
    border-radius: 8px;
    color: var(--lw-primary);
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.access-section button:hover {
    background: var(--lw-primary);
    color: var(--lw-accent);
}

/* ── GUÍA DE LECTURA ────────────────────────────────────────────── */
.reading-guide {
    position: fixed;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--lw-accent), var(--lw-primary));
    pointer-events: none;
    display: none;
    z-index: 9999;
    box-shadow: 0 0 10px rgba(132, 204, 22, 0.5);
}

/* ── ANIMACIÓN PULSE ────────────────────────────────────────────── */
@keyframes pulse-neon {
    0% {
        box-shadow: 0 0 0 0 rgba(132, 204, 22, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(132, 204, 22, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(132, 204, 22, 0);
    }
}

/* ── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .glass-card {
        padding: 30px 20px !important;
    }
}