/* assets/css/login.css */

body {
    background-color: #fff; /* Fundo branco limpo */
    margin: 0;
    overflow-x: hidden; /* Evita rolagem horizontal */
}

/* Container Principal que divide a tela */
.split-screen {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

.required-asterisk::after {
    content: " *";
    color: red;
    font-weight: bold;
}

/* Lado Esquerdo: Formulário */
.left-pane {
    width: 100%;
    max-width: 500px; /* Limite de largura para não ficar muito esticado */
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
    position: relative;
    z-index: 10;
}

/* Ajuste do formulário para ficar limpo (sem cara de 'Card' com bordas) */
.login-content {
    width: 100%;
}

.login-header {
    margin-bottom: 2rem;
    text-align: center; /* Logo centralizada */
}

.login-header .logo-text {
    font-size: 2rem;
    color: #333;
}

/* Lado Direito: Imagem e Marketing */
.right-pane {
    flex: 1; /* Ocupa o restante do espaço */
    background-image: url('../img/login-bg.png'); /* CAMINHO DA IMAGEM */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Camada escura sobre a imagem para o texto ficar legível */
.right-pane::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, rgba(19, 144, 103, 0.8), rgba(0, 0, 0, 0.7));
    /* O #139067 é o verde do seu template com transparência */
}

/* Texto sobre a imagem */
.marketing-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    padding: 0 4rem;
    max-width: 600px;
}

.marketing-content h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.marketing-content p {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.9;
}

/* Responsividade: No celular, esconde a imagem e deixa só o form */
@media (max-width: 992px) {
    .right-pane {
        display: none;
    }
    .left-pane {
        width: 100%;
        max-width: 100%;
        padding: 2rem;
    }
}

/* O card de cadastro deve ser mais largo para acomodar 2 colunas */
.register-card {
    max-width: 800px; /* Mais largo que os 400px do login */
    width: 95%;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #139067; /* Cor da marca */
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.input-group-text {
    background-color: #f8f9fa;
    border-right: none;
}

.form-control {
    border-left: none; /* Para fundir visualmente com o ícone */
}

/* Foco no input ilumina o ícone também (truque visual) */
.form-control:focus + .input-group-prepend .input-group-text, 
.input-group-prepend:focus-within .input-group-text {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}