/* Configurações básicas e fonte */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    /* MUDANÇA: Garante que o body ocupe 100% da viewport (altura e largura) */
    width: 100vw; /* 100% da largura da viewport */
    height: 100vh; /* 100% da altura da viewport */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f2f5; 
}

/* Contêiner principal da tela de login */
.login-container {
    display: flex;
    /* MUDANÇA: Ocupa 100% da largura e altura do seu elemento pai (body) */
    width: 100%; 
    height: 100%;
    /* Removemos box-shadow e border-radius porque a tela cobrirá tudo */
    box-shadow: none;
    border-radius: 0;
    overflow: hidden; 
}

/* Lado da Imagem (Esquerda) */
.image-side {
    /* Ocupa 70% da largura */
    flex: 0 0 70%; 
    background: url('chapeco-santa-catarina.jpg') no-repeat center center; 
    background-size: cover;
    position: relative;
}

/* Sombreamento/Overlay Escuro (mantido) */
.image-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4); 
    z-index: 1;
}

/* Lado do Formulário (Direita) */
.form-side {
    /* Ocupa os 30% restantes */
    flex: 0 0 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    padding: 40px;
}

.login-box {
    width: 100%;
    max-width: 380px;
    text-align: center;
}

/* --- Estilos do Formulário (O restante é mantido) --- */

.login-box h2 {
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.login-box p {
    color: #666;
    margin-bottom: 30px;
    font-size: 14px;
}

.input-group {
    text-align: left;
    margin-bottom: 20px;
    position: relative;
}

.input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #444;
}

.input-group input {
    width: 100%;
    padding: 12px 12px 12px 40px; 
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.icon-placeholder {
    position: absolute;
    top: 38px;
    left: 10px;
    color: #999;
    font-size: 18px;
}

.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 14px;
}

/* Estilo para o botão secundário (Criar ou Redefinir Senha) */
.btn-secondary {
    background-color: #f0f0f0; /* Cor cinza clara */
    color: #5c6ac4; /* Cor primária no texto */
    border: 1px solid #ddd;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-bottom: 20px;
}

.btn-secondary:hover {
    background-color: #e0e0e0;
}

.login-button {
    width: 100%;
    padding: 12px;
    background-color: #5c6ac4;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-bottom: 20px;
}

.login-button:hover {
    background-color: #4351a0;
}

.social-login {
    margin-top: 30px;
    margin-bottom: 20px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.social-buttons {
    display: flex;
    gap: 10px;
}

.social-btn {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: white;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

.register-link {
    margin-top: 20px;
    font-size: 14px;
    color: #777;
}

/* Estilo para o Logo */
.login-box h1.logo-title {
    margin-bottom: 20px;
    text-align: center;
}

.login-box h1.logo-title img {
    max-width: 100px; /* Ajuste o tamanho do logo se necessário */
    height: auto;
}

/* Estilo para o checkbox 'Acessar como CNPJ' */
.checkbox-option {
    text-align: left;
    margin-bottom: 15px;
    font-size: 14px;
    color: #444;
}

.checkbox-option input[type="checkbox"] {
    margin-right: 5px;
}

/* Estilo para os botões de Ação (Acessar e Redefinir) */
.login-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 30px; /* Espaçamento após o formulário */
}

.login-actions button {
    flex: 1; /* Para que os botões ocupem o mesmo espaço */
    padding: 12px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

/* Estilo para o botão primário (Acessar) */
.login-button {
    background-color: #5c6ac4; /* Mantenha sua cor primária */
    color: white;
    border: none;
}

.login-button:hover {
    background-color: #4351a0;
}

/* Estilo para o botão secundário (Criar ou Redefinir Senha) */


/* Estilo para o texto sobre a imagem (se desejar) */
.image-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: white;
    text-align: center;
}

.image-text h1 {
    font-size: 2.5em;
    margin-bottom: 5px;
    font-weight: 700;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.image-text p {
    font-size: 1.2em;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

/* Mantendo a responsividade para telas menores */
@media (max-width: 900px) {
    .login-container {
        flex-direction: column; 
        width: 100%;
        height: auto; 
        min-height: 100vh;
        box-shadow: none;
    }

    .image-side {
        flex: 0 0 auto;
        width: 100%;
        height: 200px; 
    }

    .form-side {
        flex: 0 0 100%;
        padding: 30px 20px;
    }
}

