/* Login page styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Login Card */
.login-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 900px;
    display: flex;
    overflow: hidden;
    min-height: 500px;
}

.login-form {
    flex: 1;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-logo {
    flex: 1;
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.login-logo img {
    max-width: 280px;
    height: auto;
    filter: brightness(0) invert(1); /* Torna a logo branca no fundo escuro */
}

/* Login Form Header */
.login-form h2 {
    color: #1a252f;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
}

/* Form Groups */
.form-group {
    margin-bottom: 25px;
}

.form-group input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.form-group input::placeholder {
    color: #6c757d;
    font-weight: 500;
}

.form-group input:focus {
    outline: none;
    border-color: #3498db;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Login Button */
.btn-login {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #c92a33 0%, #b71c1c 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.btn-login:hover {
    background: linear-gradient(135deg, #b71c1c 0%, #c92a33 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 42, 51, 0.3);
}

/* Alerts */
.alert {
    padding: 15px 20px;
    margin-bottom: 25px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    border-left: 4px solid;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-left-color: #dc3545;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-left-color: #28a745;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-card {
        flex-direction: column;
        max-width: 400px;
        min-height: auto;
    }
    
    .login-form {
        padding: 40px 30px;
    }
    
    .login-logo {
        padding: 30px;
        order: -1;
    }
    
    .login-logo img {
        max-width: 200px;
    }
    
    .login-form h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .login-form {
        padding: 30px 20px;
    }
    
    .login-form h2 {
        font-size: 24px;
    }
    
    .form-group input {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .btn-login {
        padding: 14px 20px;
        font-size: 14px;
    }
}