/* =========================
   LOGIN NUTRISMART MODAL
========================= */
.login-contenedor {
    background: #ffffff;
    min-height: 500px;
    border-radius: 26px;
    overflow: hidden;
}

/* =========================
   HEADER
========================= */
.login-header {
    background: #0d3d20;
    padding: 18px 26px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.login-logo {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
}

.login-logo span {
    color: #6fe08a;
}

/* =========================
   CUERPO
========================= */
.login-body {
    padding: 0;
}

.login-form {
    padding: 42px 46px;
    text-align: left;
}

.login-eyebrow {
    display: inline-block;
    background: #eaf6eb;
    color: #276544;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 16px;
}

.login-form h2 {
    color: #0d3d20;
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 800;
    margin: 0 0 8px;
}

.login-lead {
    color: #63796c;
    font-size: 13px;
    margin-bottom: 28px;
}

/* =========================
   CAMPOS
========================= */
.campo-login {
    margin-bottom: 18px;
}

.campo-login label {
    display: block;
    color: #3d5947;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 7px;
}

.input-icono-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icono-wrap > i {
    position: absolute;
    left: 16px;
    color: #9db6a4;
    font-size: 15px;
    pointer-events: none;
}

.input-login {
    width: 100%;
    height: 48px;
    border: 1.5px solid #e3ede4;
    border-radius: 14px;
    padding: 0 44px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    background: #fbfdfb;
    color: #173b2a;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.input-login::placeholder {
    color: #a9bdb0;
}

.input-login:focus {
    outline: none;
    border-color: #174b31;
    box-shadow: 0 0 0 4px rgba(23, 75, 49, 0.12);
}

.btn-mostrar-password {
    position: absolute;
    right: 8px;
    border: none;
    background: none;
    color: #9db6a4;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.btn-mostrar-password:hover {
    color: #174b31;
    background: #eaf6eb;
}

/* =========================
   BOTONES
========================= */
.botones-login {
    display: flex;
    flex-direction: column;
    margin-top: 8px;
}

.btn-login {
    border: none;
    background: linear-gradient(135deg, #1c5c3d, #0d3d20);
    color: white;
    padding: 14px 22px;
    border-radius: 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    box-shadow: 0 12px 26px rgba(13, 61, 32, 0.28);
}

.btn-login:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

.btn-login:active {
    transform: translateY(0) scale(0.98);
}

.btn-login:disabled {
    opacity: 0.75;
    cursor: default;
    transform: none;
}

/* =========================
   RECUPERAR CONTRASEÑA
========================= */
.recuperar-contra {
    text-decoration: none;
    margin: 14px 0 0;
    color: #63796c;
    font-size: 12px;
    text-align: center;
    transition: color 0.2s ease;
}

.recuperar-contra:hover {
    color: #174b31;
    text-decoration: underline;
}

/* =========================
   SEPARADOR
========================= */
.login-separador {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0 14px;
    color: #b8c8bc;
    font-size: 11px;
    text-transform: uppercase;
}

.login-separador::before,
.login-separador::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e3ede4;
}

/* =========================
   BOTÓN IR A REGISTRO
========================= */
.btn-link-registro {
    border: 1.5px solid #174b31;
    background: transparent;
    color: #174b31;
    padding: 12px 22px;
    border-radius: 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s ease;
}

.btn-link-registro:hover {
    background: #174b31;
    color: white;
    transform: translateY(-2px);
}

/* =========================
   BOTÓN ATRÁS
========================= */
.btn-atras {
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: #fdfdfd;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 15px;
    cursor: pointer;
    transition: 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-atras:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateX(-2px);
}

/* =========================
   PANEL VISUAL (COLUMNA DERECHA)
========================= */
.login-panel-visual {
    height: 100%;
    background: linear-gradient(160deg, #eaf6eb 0%, #cdeccf 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 40px 30px;
    text-align: center;
}

.login-imagen img {
    max-width: 230px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 18px 26px rgba(13, 61, 32, 0.25));
}

.login-panel-frase {
    color: #2f5b40;
    font-size: 13px;
    font-style: italic;
    max-width: 260px;
    margin: 0;
    line-height: 1.6;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 576px) {
    .login-header {
        padding: 16px 20px;
    }

    .login-form {
        padding: 32px 26px 34px;
    }
}
