  
:root {
    --primary-color: #1a3e72;
    --secondary-color: #f8b400;
    --accent-color: #e74c3c;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('/portal/assets/images/adm.png') no-repeat center center fixed;
    
    background-size: cover;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: var(--light-color);
}

.main-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}

.login-container {
    width: 100%;
    max-width: 450px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 7px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.8s ease-in-out;
    margin: 20px 0;
}

.login-header {
    background: var(--primary-color);
    color: white;
    padding: 20px;
    text-align: center;
    position: relative;
}

.login-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 20px;
    background: url(' ');
    background-size: cover;
}

.event-logo {
    width: 80px;
    margin-bottom: 10px;
}

.event-title {
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.event-date {
    font-size: 0.85rem;
    opacity: 0.9;
}

.login-body {
    padding: 25px;
    color: var(--dark-color);
}

.form-control {
    height: 45px;
    border-radius: 8px;
    border: 1px solid #ddd;
    padding-left: 40px;
    font-size: 0.9rem;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.input-group-text {
    position: absolute;
    left: 0;
    top: 0;
    height: 45px;
    width: 40px;
    background: transparent;
    border: none;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
}

.btn-login {
    background-color: var(--primary-color);
    border: none;
    height: 45px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.btn-login:hover {
    background-color: #0d2b57;
    transform: translateY(-2px);
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.8rem;
}

.forgot-password:hover {
    text-decoration: underline;
}

.footer {
    text-align: center;
    padding: 15px;
    font-size: 0.75rem;
    color: var(--light-color);
    width: 100%;
}

.developer {
    color: var(--secondary-color);
    font-weight: 600;
}

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

.error-message {
    color: var(--accent-color);
    font-size: 0.8rem;
    margin-top: 5px;
}

.alert-danger {
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 0.85rem;
}

/* Responsividade */
@media (max-width: 576px) {
    .login-container {
        max-width: 95%;
    }
    
    .login-header {
        padding: 15px;
    }
    
    .event-logo {
        width: 70px;
    }
    
    .event-title {
        font-size: 1.3rem;
    }
    
    .login-body {
        padding: 20px;
    }
    
    body {
        padding: 10px;
    }
}
