* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    height: 100vh;
    overflow: hidden;
    background-color: #f5f5f5 !important;
}

.split-screen {
    display: flex;
    width: 100%;
    height: 100vh;
}

.left-pane {
    width: 60%; 
    
    background-image: url('https://homolog.sigmatransportes.com.br/media/galeria/oea_card.jpeg');
    
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end; 
    padding: 60px;
}

.left-pane::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,86,179,0.8));
    z-index: 1;
}

.overlay-text {
    position: relative;
    z-index: 2;
    color: white;
}

.overlay-text h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.overlay-text p {
    font-size: 18px;
    opacity: 0.9;
}

.right-pane {
    width: 40%; 
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.login-box {
    width: 100%;
    max-width: 400px;
    padding: 40px;
}

.brand-logo {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 30px;
}

.brand-logo img {
    height: 60px;
}

.login-box h3 {
    font-size: 28px;
    color: #1f2937;
    margin-bottom: 5px;
    font-weight: 600;
}

.subtitle {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 30px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #374151;
    font-weight: 500;
    font-size: 14px;
}

.input-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    transition: 0.3s;
    background-color: #f9fafb;
}

.input-group input:focus {
    outline: none;
    border-color: #0056b3;
    background-color: white;
    box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.1);
}

.btn-login {
    width: 100%;
    padding: 14px;
    background-color: #0056b3;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: background-color 0.2s;
    margin-top: 10px;
}

.btn-login:hover {
    background-color: #004494;
}

.error-message {
    background-color: #fee2e2;
    color: #991b1b;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
    border: 1px solid #fecaca;
    text-align: center;
}

.footer-login {
    margin-top: 40px;
    text-align: center;
    font-size: 12px;
    color: #9ca3af;
}

@media (max-width: 900px) {
    .split-screen {
        flex-direction: column;
    }

    .left-pane {
        width: 100%;
        height: 250px;
        padding: 30px;
    }
    
    .overlay-text h2 { font-size: 28px; }
    .overlay-text p { font-size: 14px; }

    .right-pane {
        width: 100%;
        height: auto;
        flex: 1;
    }
}