/* --- Register Page Specific Styles (Versão Compacta + Logo Grande Centralizado) --- */

html, body {
    height: 100%;
    margin: 0;
    overflow: hidden; /* Remove barra de rolagem da página inteira */
}

.register-wrapper {
    height: 100vh;
    width: 100%;
}

/* Lado Esquerdo (Imagem e Branding) */
.register-image {
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
}

.register-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(33, 62, 90, 0.9); /* Azul sólido */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centraliza Verticalmente */
    align-items: center;     /* NOVO: Centraliza Horizontalmente o bloco */
    padding: 40px;
    text-align: center;      /* NOVO: Centraliza os textos */
}

/* --- MUDANÇAS AQUI --- */
.brand-content img {
    height: 160px; /* AUMENTADO: Logo bem maior (era 90px) */
    margin-bottom: 25px; /* Margem maior para respirar */
}

.brand-content h2 {
    color: #fff;
    font-weight: 900;
    font-size: 40px; /* Fonte ligeiramente maior para acompanhar o logo */
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.brand-content p {
    color: rgba(255,255,255, 0.8);
    font-size: 16px;
    max-width: 450px; /* Limita largura para o texto não ficar muito esticado */
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}
/* ------------------- */

.back-link {
    position: absolute;
    top: 30px;
    left: 30px; /* Ajuste fino na posição */
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 16px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 30px;
    transition: 0.3s;
    text-decoration: none;
}

.back-link:hover {
    background: #b2d13a;
    color: #213e5a;
    border-color: #b2d13a;
}

/* Lado Direito (Formulário Dark Mode Compacto) */
.bg-dark-theme {
    background-color: #151618;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.form-container {
    width: 100%;
    max-width: 420px;
}

.form-header {
    text-align: left;
    margin-bottom: 15px;
}

.form-header h3 {
    color: #fff;
    font-weight: 700;
    font-size: 26px;
    margin-bottom: 2px;
}

.form-header p {
    color: #636363;
    font-size: 13px;
    margin-bottom: 0;
}

.form-header a {
    color: #b2d13a;
    font-weight: 500;
}

/* Switcher (Abas) Compacto */
.role-switch {
    background: #252628;
    padding: 3px;
    border-radius: 6px;
    display: flex;
    margin-bottom: 15px;
    margin-top: 10px;
}

.role-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: #ababab;
    padding: 6px;
    border-radius: 5px;
    font-weight: 500;
    font-size: 13px;
    transition: 0.3s;
    cursor: pointer;
}

.role-btn.active {
    background: #213e5a;
    color: #fff;
}

/* Inputs Estilo Dark Compactos */
.dark-input {
    background-color: #252628;
    border: 1px solid #333;
    color: #fff;
    height: 38px;
    border-radius: 4px;
    font-size: 13px;
    padding: 5px 12px;
}

.dark-input:focus {
    background-color: #2b2c2e;
    border-color: #b2d13a;
    color: #fff;
    box-shadow: none;
}

.dark-input::placeholder {
    color: #555;
    font-size: 12px;
}

label {
    color: #ccc;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 4px;
    margin-top: 5px;
}

/* Ajustes de Espaçamento do Bootstrap */
.form-row .col-md-6, .form-row .col-6 {
    padding-left: 5px;
    padding-right: 5px;
}
.form-row {
    margin-left: -5px;
    margin-right: -5px;
}

/* Botão de Registro */
.btn-register {
    background: #b2d13a;
    color: #213e5a;
    font-weight: 700;
    height: 40px;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 13px;
    margin-top: 10px;
    border: none;
    width: 100%;
    line-height: 25px;
}

.btn-register:hover {
    background: #fff;
    color: #213e5a;
}

/* Checkbox */
.form-check {
    margin-top: 10px;
    margin-bottom: 10px;
    padding-left: 1.25rem;
}

.form-check-label {
    font-size: 12px;
    color: #777;
    padding-top: 2px;
}

.form-check-input {
    margin-top: 4px;
}

/* Social Login Compacto */
.social-login {
    text-align: center;
    margin-top: 15px;
    border-top: 1px solid #2d2e30;
    padding-top: 15px;
}

.social-login span {
    color: #666;
    font-size: 11px;
    display: block;
    margin-bottom: 10px;
}

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

.btn-social {
    flex: 1;
    background: #252628;
    border: 1px solid #333;
    color: #fff;
    padding: 8px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-social:hover {
    background: #333;
    border-color: #555;
}

/* Olho da Senha */
.password-wrapper {
    position: relative;
}
.show-pass {
    position: absolute;
    right: 10px;
    top: 11px;
    color: #666;
    font-size: 12px;
    cursor: pointer;
}

/* Mecânica de Esconder/Mostrar */
.register-form {
    display: none;
    animation: fadeIn 0.4s;
}

.register-form.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile */
@media (max-width: 991px) {
    html, body {
        overflow-y: auto;
    }
    .register-image {
        display: none; 
    }
    .bg-dark-theme {
        height: auto;
        min-height: 100vh;
        padding: 40px 20px;
    }
}

/* Estilo do botão voltar no Mobile */
.mobile-back-link {
    color: #ababab; /* Cinza claro */
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: 0.3s;
    display: flex;
    align-items: center;
}

.mobile-back-link i {
    margin-right: 8px; /* Espaço entre a seta e o texto */
    font-size: 12px;
}

.mobile-back-link:hover {
    color: #b2d13a; /* Fica verde ao passar o dedo/mouse */
}
/* --- Adições para a Página de Login --- */

.login-options {
    display: flex;
    justify-content: space-between; /* Separa os elementos (Esq e Dir) */
    align-items: center;
    margin-bottom: 15px;
    font-size: 12px;
}

.forgot-link {
    color: #ababab;
    text-decoration: none;
    transition: 0.3s;
    font-weight: 500;
}

.forgot-link:hover {
    color: #b2d13a; /* Verde Limão */
}

.login-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: #666;
}

.login-footer a {
    color: #b2d13a;
    font-weight: 700;
}