/* css/login.css */

.login-screen {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100vh;
    /* ... mantenha o background ... */
    
    /* MUDANÇA AQUI: Aumente o Z-Index para vencer a Sidebar (que é 1040) */
    z-index: 9999 !important; 
    
    display: none; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
}
.login-container {
    max-width: 400px; width: 90%; background: rgba(255, 255, 255, 0.95);
    border-radius: 15px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}
.company-logo-container { padding: 20px; display: flex; justify-content: center; }
.company-logo { max-width: 200px; height: auto; }
.brand-watermark { position: absolute; bottom: 20px; right: 20px; color: rgba(255, 255, 255, 0.5); font-size: 14px; }

@media (min-width: 992px) {
    .login-screen { flex-direction: row; justify-content: flex-start; }
    .login-container { margin-left: 5vw; }
    .company-logo { width: 50vw; max-width: 600px; display: block; }
}

.login-screen {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: #1a3c6e;
    background-image: linear-gradient(135deg, rgba(26, 60, 110, 0.6), rgba(42, 82, 152, 0.6));
    background-size: cover; background-position: center; z-index: 1000;
    display: none; flex-direction: column; align-items: center; justify-content: center;
}
.login-container {
    max-width: 400px; width: 90%; background: rgba(255, 255, 255, 0.95);
    border-radius: 15px; margin-left: 5vw; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.company-logo-container { padding: 20px; display: flex; justify-content: center; }
.company-logo { width: 50vw; max-width: 600px; display: none; }

@media (min-width: 992px) {
    .login-screen { flex-direction: row; justify-content: flex-start; }
    .company-logo { display: block; }
}