/* 🔒 TODO vive dentro de login-scope */
.login-scope {
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Layout */
.login-scope .login-page {
    display: flex;
    height: 100%;
}

/* IZQUIERDA */
.login-scope .login-left {
    flex: 0.25;
    background-color: #0f172a;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-sizing: border-box;
}

.login-scope .login-form-wrapper {
    width: 100%;
    max-width: 400px;
}

.login-scope .login-form-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

/* Formulario */
.login-scope .form-group {
    margin-bottom: 20px;
}

.login-scope .login-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #475569;
    border-radius: 8px;
    background-color: #1e293b;
    color: white;
    font-size: 1rem;
}

.login-scope .login-input::placeholder {
    color: #94a3b8;
}

.login-scope .login-input:focus {
    outline: none;
    border-color: #60a5fa;
}

/* Botón */
.login-scope .login-button {
    width: 100%;
    background-color: #1B3257;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 999px;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 10px;
}

.login-scope .login-button:hover {
    background-color: #25467C;
}

/* Links */
.login-scope .forgot-link {
    display: block;
    text-align: right;
    margin: 15px 0 25px;
    font-size: 0.9rem;
    color: #94a3b8;
    text-decoration: none;
}

.login-scope .forgot-link:hover {
    text-decoration: underline;
}

/* Error */
.login-scope .error-message {
    background: rgba(248, 113, 113, 0.15);
    color: #f87171;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
}

/* DERECHA */
.login-scope .login-right {
    flex: 0.75;
    background-image: url("../img/colegio.jpeg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-scope .overlay-text {
    color: white;
    max-width: 400px;
    text-align: center;
    padding: 20px;
}

.login-scope .overlay-text h3 {
    font-size: 1.75rem;
    margin-bottom: 10px;
}

.login-scope .overlay-text p {
    color: #d1d5db;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .login-scope .login-page {
        flex-direction: column;
        height: auto;
    }

    .login-scope .login-right {
        height: 40vh;
    }

    .login-scope .forgot-link {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .login-scope .login-left {
        padding: 30px 15px;
    }

    .login-scope .login-form-wrapper h2 {
        font-size: 1.4rem;
    }
}
