* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a3a5c 0%, #2c5f8a 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    width: 100%;
    max-width: 480px;
    padding: 20px;
}

.login-box {
    background: white;
    border-radius: 16px;
    padding: 40px 35px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ============================================================
   LOGOS EN ESQUINAS - MÁS GRANDES
   ============================================================ */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 0 5px;
}

.logo-img {
    max-width: 120px;
    height: auto;
    display: block;
}

.logo-left {
    margin-right: 0;
}

.logo-right {
    margin-left: 0;
}

/* ============================================================
   TÍTULOS
   ============================================================ */
h1 {
    text-align: center;
    color: #1a3a5c;
    font-size: 24px;
    margin-bottom: 8px;
    font-weight: 700;
}

.subtitle {
    text-align: center;
    color: #6b7a8a;
    font-size: 14px;
    margin-bottom: 30px;
    font-weight: 400;
}

/* ============================================================
   FORMULARIO
   ============================================================ */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e6ed;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-group input:focus {
    border-color: #2c5f8a;
    box-shadow: 0 0 0 3px rgba(44, 95, 138, 0.1);
}

.form-group input::placeholder {
    color: #aab3bf;
}

/* ============================================================
   BOTÓN LOGIN
   ============================================================ */
.btn-login {
    width: 100%;
    padding: 14px;
    background: linear-gradient(145deg, #2c5f8a, #1e4a6e);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: 0 2px 8px rgba(44, 95, 138, 0.25);
}

.btn-login:hover {
    background: linear-gradient(145deg, #1e4a6e, #163a56);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 95, 138, 0.4);
}

.btn-login:active {
    transform: translateY(0px);
}

/* ============================================================
   MENSAJES
   ============================================================ */
.error-message {
    color: #dc3545;
    font-size: 14px;
    text-align: center;
    margin-top: 15px;
    min-height: 24px;
    font-weight: 500;
}

.error-message.success {
    color: #28a745;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-text {
    text-align: center;
    color: #aab3bf;
    font-size: 12px;
    margin-top: 25px;
    font-weight: 400;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 480px) {
    .login-container {
        padding: 15px;
    }
    
    .login-box {
        padding: 30px 20px;
        border-radius: 12px;
    }
    
    .logo-img {
        max-width: 80px;
    }
    
    .logo-container {
        gap: 0;
    }
    
    h1 {
        font-size: 20px;
    }
    
    .subtitle {
        font-size: 13px;
        margin-bottom: 25px;
    }
    
    .form-group input {
        padding: 10px 14px;
        font-size: 14px;
    }
    
    .btn-login {
        padding: 12px;
        font-size: 15px;
    }
}

@media (max-width: 360px) {
    .login-box {
        padding: 20px 15px;
    }
    
    .logo-img {
        max-width: 60px;
    }
    
    h1 {
        font-size: 17px;
    }
}

/* ============================================================
   TÍTULO SEOC - MÁS GRANDE
   ============================================================ */
.titulo-seoc {
    text-align: center;
    color: #1a3a5c;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: 4px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.subtitulo-seoc {
    text-align: center;
    color: #6b7a8a;
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 30px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 1px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 480px) {
    .titulo-seoc {
        font-size: 36px;
        letter-spacing: 2px;
    }
    
    .subtitulo-seoc {
        font-size: 11px;
        margin-bottom: 20px;
    }
}

@media (max-width: 360px) {
    .titulo-seoc {
        font-size: 28px;
    }
    
    .subtitulo-seoc {
        font-size: 10px;
    }
}