/* static/css/register.css (VERSÃO ATUALIZADA) */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #121212; /* Um cinza escuro é mais suave que #000 */
    font-family: Arial, sans-serif;
    color: #e0e0e0;
}

.register-container-split {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* --- LADO ESQUERDO: PROMO / BANNER --- */
.register-promo {
    width: 50%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9)), url('https://images.unsplash.com/photo-1554224155-610b71c8c6a7'); /* Imagem de fundo genérica sobre finanças */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.promo-content {
    max-width: 500px;
    text-align: left;
}

.promo-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 30px;
    border: 3px solid #0f0;
}

.promo-content h1 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.3;
}

.promo-content p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 30px;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    font-size: 1rem;
    margin-bottom: 15px;
    color: #e0e0e0;
}

.feature-list i {
    color: #0f0; /* Cor verde de destaque */
    font-size: 1.2rem;
    width: 30px;
    text-align: center;
    margin-right: 15px;
}

/* --- LADO DIREITO: FORMULÁRIO --- */
.register-form-wrapper {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: #000;
}

/* O .login-box original, agora dentro do wrapper */
.login-box {
    background-color: #000;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(20, 237, 20, 0.1);
    width: 100%;
    max-width: 450px;
    text-align: center;
}

.login-box h2 {
    color: #fff;
    margin-bottom: 25px;
}

/* Estilos dos campos do formulário */
.form-field-wrapper {
    margin-bottom: 15px;
    text-align: left;
}

.form-field-wrapper label {
    color: #ccc;
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

.form-field-wrapper input {
    width: 100%;
    padding: 12px;
    background-color: #fff;
    border: 1px solid #444;
    border-radius: 5px;
    font-size: 16px;
    color: #000; /* Texto PRETO para contrastar */
}

/* Botão */
form button {
    width: 100%;
    padding: 15px;
    background-color: #0f0;
    border: none;
    border-radius: 5px;
    color: #000;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.2s;
}

form button:hover {
    background-color: #0c0;
}

/* Links extras */
.extra-links {
    margin-top: 20px;
}

.extra-links a {
    color: #0f0;
    text-decoration: none;
    font-size: 13px;
}

/* Mensagens de erro e ajuda */
.helptext, .helptext ul li {
    font-size: 12px;
    color: #b0b0b0;
    text-align: left;
}
.helptext { margin-top: 10px; }
.helptext ul { list-style: disc; padding-left: 20px; margin: 8px 0 0 0; }
.helptext ul li { margin-bottom: 5px; }

.error-message {
    color: #ff4d4d;
    background-color: rgba(255, 0, 0, 0.1);
    border: 1px solid #ff4d4d;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: left;
    font-size: 14px;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .register-container-split {
        flex-direction: column;
    }

    .register-promo,
    .register-form-wrapper {
        width: 100%;
    }

    .register-promo {
        min-height: 400px;
        text-align: center;
    }
    
    .promo-content {
        text-align: center;
    }

    .feature-list {
        text-align: left; /* Mantém a lista alinhada à esquerda */
    }
}