/* ===================================================================
   LOGIN CSS - GRUPO EXECUTA
   Arquivo: login.css
   =================================================================== */

body {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.login-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    max-width: 400px;
    width: 100%;
    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, #1a1a1a 0%, #2d2d2d 100%);
    padding: 30px;
    text-align: center;
    color: white;
}

.login-header h2 {
    margin: 0;
    font-weight: 600;
    font-size: 1.8rem;
}

.login-header .logo {
    width: auto;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    padding: 15px;
}

.login-header .logo img {
    filter: brightness(0) invert(1);
}

.login-body {
    padding: 40px 30px;
}

.form-floating {
    margin-bottom: 20px;
}

.form-floating input {
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    font-size: 16px;
    padding: 1rem 0.75rem;
    transition: all 0.3s ease;
}

.form-floating input:focus {
    border-color: #1a1a1a;
    box-shadow: 0 0 0 0.2rem rgba(26, 26, 26, 0.25);
}

.form-floating label {
    color: #6c757d;
}

.btn-login {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: none;
    color: white;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 26, 26, 0.3);
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
}

.btn-login:active {
    transform: translateY(0);
}

.alert {
    border-radius: 8px;
    border: none;
    padding: 12px 15px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
    z-index: 10;
}

.password-toggle:hover {
    color: #1a1a1a;
}

.remember-me {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.remember-me input {
    margin-right: 8px;
}

.remember-me label {
    margin: 0;
    color: #6c757d;
    font-size: 14px;
}

.login-footer {
    text-align: center;
    padding: 20px;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.login-footer a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    font-weight: 500;
}

.login-footer a:hover {
    color: #2d2d2d;
    text-decoration: underline;
}

@media (max-width: 576px) {
    .login-container {
        margin: 20px;
    }
    .login-body {
        padding: 30px 20px;
    }
}