body {
    margin: 0;
    background: #f4f6f9;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* CONTENEDOR DE LA TARJETA */
.login-wrapper {
    max-width: 420px;
    margin: 60px auto 80px auto;
    padding: 0 16px;
}

.login-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 28px 26px 26px 26px;
    box-shadow: 0 14px 40px rgba(15,23,42,0.16);
    border-top: 6px solid #355e3b;
}

.login-title {
    font-size: 18px;
    font-weight: 700;
    color: #0b1d4a;
    margin-bottom: 4px;
    text-align: center;
}

.login-sub {
    font-size: 13px;
    color: #6b7280;
    text-align: center;
    margin-bottom: 18px;
}

/* LABELS E INPUTS */
.login-card label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    display: block;
    margin-bottom: 4px;
    margin-top: 12px;
}

.login-input {
    width: 100%;
    padding: 11px 13px;
    font-size: 14px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    outline: none;
    box-sizing: border-box;
    transition: 0.18s;
    background: #f3f4ff;
}

.login-input:focus {
    border-color: #355e3b;
    box-shadow: 0 0 0 3px rgba(53,94,59,0.20);
    background: #ffffff;
}

/* BOTÓN */
.login-btn {
    margin-top: 22px;
    width: 100%;
    padding: 11px;
    border: none;
    border-radius: 999px;
    background: #355e3b;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s, transform 0.08s;
}

.login-btn:hover {
    background: #2a4a2f;
    transform: translateY(-1px);
}

/* ALERTAS */
.alerta {
    background: #fee2e2;
    color: #b91c1c;
    padding: 10px 12px;
    font-size: 13px;
    border-radius: 10px;
    margin-bottom: 14px;
    text-align: center;
}
.alerta-ok {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

/* PIE DEL LOGIN */
.login-bottom {
    font-size: 12px;
    color: #6b7280;
    margin-top: 14px;
    text-align: center;
}
.login-bottom a {
    color: #355e3b;
    font-weight: 600;
    text-decoration: none;
}
.login-bottom a:hover {
    text-decoration: underline;
}