body {
    font-family: 'Inter', sans-serif;
    background: var(--color-gris);
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px auto;
    padding: 20px;
    background: var(--color-fondo);
    border-radius: 20px;
    max-width: 1000px;
}

.login-box {
    flex: 1;
    padding: 40px;
    background: #fff;
    border-radius: 30px;
}

.login-box h2 {
    margin-bottom: 25px;
    font-weight: 600;
    text-align: center;
    color: var(--color-secundario);
}

.input-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    background: #f1f1f1;
    border-radius: 15px;
    padding: 10px;
}

.input-group input {
    border: none;
    outline: none;
    background: none;
    width: 100%;
    font-size: 15px;
    color: var(--color-texto-oscuro);
}

.options {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 20px;
}

.options a {
    text-decoration: none;
    color: var(--color-principal);
    transition: color 0.3s;
}

.options a:hover {
    color: var(--color-links);
}

.btn-login {
    width: 100%;
    background: var(--color-principal);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn-login:hover {
    background: var(--color-links);
}

.divider {
    text-align: center;
    margin: 15px 0;
    color: #aaa;
}

.register-link {
    text-align: center;
    margin-top: 15px;
    font-size: 15px;
}

.register-link a {
    color: var(--color-principal);
    font-weight: 500;
    text-decoration: none;
}

.register-link a:hover {
    color: var(--color-links);
}

.promo-box {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.promo-box img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* === BOTÓN MOSTRAR/OCULTAR CONTRASEÑA === */
.password-group {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-principal);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: var(--color-links);
}

.toggle-password:focus {
    outline: none;
}

/* === RECAPTCHA BONITO Y CENTRADO === */
.g-recaptcha {
    transform: scale(0.85);
    transform-origin: center;
    display: flex;
    justify-content: center;
    margin: 10px auto 20px;
    filter: drop-shadow(0 0 2px rgba(0,0,0,0.1));
}

/* Para pantallas pequeñas */
@media (max-width: 600px) {
    .g-recaptcha {
        transform: scale(0.75);
    }
}
