/* ======= GENERAL ======= */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #14532d, #16a34a);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* ======= CONTENEDOR ======= */
.login-container {
    background: #ffffff;
    width: 90%;
    max-width: 380px;
    padding: 35px 25px;
    border-radius: 18px;
    box-shadow: 0 5px 18px rgba(0,0,0,0.25);
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.login-logo {
    width: 150px;
    display: block;
    margin: 0 auto 20px auto;
}

.title {
    text-align: center;
    color: #14532d;
    font-size: 26px;
    margin-bottom: 20px;
}

.label {
    font-weight: bold;
    color: #14532d;
    margin-bottom: 5px;
    display: block;
}

.input {
    width: 100%;
    padding: 12px;
    border: 1px solid #bcd7c7;
    border-radius: 8px;
    background: #f8fafc;
    font-size: 15px;
    margin-bottom: 18px;
}

/* ======= OJO PARA VER CONTRASEÑA ======= */
.input-wrapper {
    position: relative;
    width: 100%;
}

.toggle-pass {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 20px;
    color: #475569;
    user-select: none;
}

/* Ajuste para dejar espacio al ojo */
.input-wrapper .input {
    padding-right: 42px !important;
}

/* ======= BOTÓN ======= */
.btn {
    width: 100%;
    background: #16a34a;
    color: #fff;
    padding: 14px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 17px;
    font-weight: bold;
    transition: 0.2s;
}

.btn:hover {
    background: #14532d;
}

.links {
    margin-top: 14px;
    text-align: center;
}

.links a {
    color: #14532d;
    text-decoration: none;
    font-weight: bold;
}

.mensaje {
    color: red;
    text-align: center;
    margin-bottom: 15px;
    font-weight: bold;
}