
/* Estilos específicos para login */
body {
    background: linear-gradient(135deg, #0A1C64 0%, #0A1C64 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

.login-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    width: 90%;
    max-width: 450px;
    animation: slideUp 0.5s ease;
}

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


.login-header {
    background: linear-gradient(135deg, #0A1C64 0%, #0A1C64 100%);
    padding: 40px 30px;
    text-align: center;
    color: white;
}

.login-header h1 {
    margin: 0 0 10px 0;
    font-size: 2em;
    font-weight: 700;
}

.login-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95em;
}

.login-body {
    padding: 40px 35px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2d3748;
    font-weight: 600;
    font-size: 0.95em;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    fill: #868e96;
}

.form-input {
    width: 100%;
    padding: 14px 14px 14px 45px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #0A1C64;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-input::placeholder {
    color: #adb5bd;
}

.btn-login {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #0A1C64 0%, #0A1C64 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.05em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.btn-login:active {
    transform: translateY(0);
}

.alert {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9em;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.forgot-password {
    text-align: center;
    margin-top: 20px;
}

.forgot-password a {
    color: #0A1C64;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 600;
    transition: color 0.3s ease;
}

.forgot-password a:hover {
    color: #5568d3;
    text-decoration: underline;
}

.login-footer {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    color: #868e96;
    font-size: 0.85em;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    width: 24px;
    height: 24px;
    fill: #868e96;
    transition: fill 0.3s ease;
}

.password-toggle:hover {
    fill: #0A1C64;
}
.error-message {
    background-color: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    text-align: center;
    margin-bottom: 12px;
}
@media (max-width: 480px) {
    .login-container {
        width: 95%;
        margin: 20px;
    }

    .login-header {
        padding: 30px 20px;
    }

    .login-header h1 {
        font-size: 1.5em;
    }

    .login-body {
        padding: 30px 25px;
    }
}
