/* ===============================
   RESET
================================ */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

/* ===============================
   LAYOUT PRINCIPAL
================================ */
.login-layout {
    display: flex;
    height: 100vh;
}

/* ===============================
   PANEL IZQUIERDO
================================ */
.login-info {
    flex: 1;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: #ecf0f1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.info-content {
    max-width: 480px;
}

.info-content h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 25px;
}

.features {
    list-style: none;
    margin-bottom: 30px;
}

.features li {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.author-box {
    margin-top: 40px;
    font-size: 0.85rem;
    opacity: 0.85;
}

/* ===============================
   PANEL DERECHO (LOGIN)
================================ */
.login-form {
    flex: 1;
    background: #f4f7f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-card {
    background: #fff;
    padding: 40px;
    width: 100%;
    max-width: 380px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.form-card h2 {
    text-align: center;
    margin-bottom: 5px;
}

.form-subtitle {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
}

/* INPUTS GENERALES */
.form-group input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccd1d1;
    font-size: 0.95rem;
}

.form-group input:focus {
    outline: none;
    border-color: #3498db;
}

/* ===============================
   PASSWORD (VER CONTRASEÑA)
================================ */
.password-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #ccd1d1;
    border-radius: 8px;
    padding: 0 10px;
    background: #fff;
}

.password-wrapper input {
    border: none !important;
    outline: none;
    flex: 1;
    padding: 12px 8px;
    font-size: 0.95rem;
    background: transparent;
}

.password-wrapper:focus-within {
    border-color: #3498db;
}

.toggle-password {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    margin-left: 6px;
}

/* ===============================
   BOTÓN
================================ */
.btn-login {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #3498db;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
}

.btn-login:hover {
    background: #2c80b4;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 900px) {
    .login-layout {
        flex-direction: column;
    }

    .login-info {
        text-align: center;
    }
}
