/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #3182ce;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.login-container {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 400px;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo {
    height: auto !important;
    width: 220px !important;
    max-width: 220px !important;
    max-height: 45px !important;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    object-fit: contain;
}

.login-subtitle {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin: 0;
}

.login-form .form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

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

.login-btn {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

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

.forgot-password-link {
    color: #3498db;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.forgot-password-link:hover {
    color: #2980b9;
    text-decoration: underline;
}

.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    text-align: center;
}

.alert-error {
    background-color: #fdf2f2;
    color: #e53e3e;
    border: 1px solid #fed7d7;
}

.alert-success {
    background-color: #f0fff4;
    color: #38a169;
    border: 1px solid #c6f6d5;
}

.login-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    color: #7f8c8d;
    font-size: 0.8rem;
}

.developer-link {
    color: #3498db;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

.developer-logo {
    width: 16px;
    height: 16px;
}

.developer-link:hover {
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 480px) {
    .login-container {
        padding: 1.5rem;
        margin: 0.5rem;
    }
    
    .login-logo {
        width: 180px !important;
        max-width: 180px !important;
        max-height: 36px !important;
    }
}