/* public/css/login.css */

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #365E68; /* Cor de fundo principal da CEPE */
    color: #E0E0E0; /* Cor de texto claro para contraste */
}

.login-container {
    display: flex;
    width: 80%; /* Ajuste conforme a necessidade de espaço */
    max-width: 900px;
    height: 60%; /* Ajuste a altura */
    max-height: 500px;
    background-color: #2D4C55; /* Um tom ligeiramente mais claro que o fundo principal, para o container */
    border-radius: 8px;
    overflow: hidden; /* Para garantir que o logo não vaze */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.left-panel {
    flex: 1;
    background-color: #2D4C55; 
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.logo-container img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain; 
}

.right-panel {
    flex: 1;
    background-color: #365E68; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
}

.right-panel::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px; 
    height: 80%; 
    background-color: #4A7A89; 
}

h1 {
    font-size: 2.2em;
    margin-top: 0; /* Remove margem superior */
    margin-bottom: 10px;
    color: white; 
    width: 100%; /* Garante que ocupe a largura do wrapper */
}

.form-wrapper {
    width: 100%;
    max-width: 300px; 
    text-align: left; 
}

p.subtitle {
    font-size: 0.9em;
    color: #B0B0B0;
    margin-bottom: 30px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 80%;
    max-width: 300px;
}

.login-form input[type="text"],
.login-form input[type="password"] {
    padding: 12px 15px;
    border: 1px solid #4A7A89; 
    border-radius: 5px;
    background-color: #4A7A89; 
    color: white;
    font-size: 1em;
}

.login-form input[type="text"]::placeholder,
.login-form input[type="password"]::placeholder {
    color: #D0D0D0;
}

.login-form button {
    padding: 12px;
    background-color: #8DC63F; 
    color: #365E68; 
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-form button:hover {
    background-color: #7BB035; 
}

.forgot-password {
    margin-top: 20px;
    font-size: 0.9em;
}
.forgot-password a {
    color: #8DC63F; 
    text-decoration: none;
    transition: color 0.3s ease;
}
.forgot-password a:hover {
    color: #7BB035;
}

@media (max-width: 768px) {
    body, html {
        height: auto; 
        display: block; 
        padding: 20px 0; 
    }

    .login-container {
        flex-direction: column;
        width: 90%; 
        height: auto; 
        margin: 0 auto; 
        padding: 0; 
    }
    
    .left-panel {
        flex: none; 
        width: 100%;
        padding: 30px 0;
        height: 150px; 
        box-sizing: border-box;
    }

    .right-panel {
        flex: none;
        width: 100%;
        padding: 30px 20px; 
        box-sizing: border-box;
    }

    .right-panel::before {
        display: none; 
    }

    .form-wrapper {
        width: 100%; 
    }
    
    h1 {
        font-size: 1.8em;

    p.subtitle {
        text-align: center; 
    }
}}