/* ===== ESTILOS GERAIS ===== */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    color: #333;
}

header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 150px;
    background-color: #d0e0f0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.logo {
    max-width: 100%;
    height: auto;
    width: 250px;
}

.subtext {
    font-size: 1em;
    font-weight: bold;
    font-family: Arial, sans-serif;
    color: red;
    margin: 0;
}

/* Faixa vermelha abaixo do header */
.header-bottom-bar {
    height: 50px; /* Altura fixa */
    min-height: 50px; /* Garante que nunca seja menor que 50px */
    max-height: 50px; /* Garante que nunca seja maior que 50px */
    background-color: #ff4d4d;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Espaço entre texto e busca */
    color: white;
    font-size: 1.2em; /* Tamanho da fonte padrão */
    font-weight: bold;
    font-family: 'Arial', Arial, sans-serif;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
    position: fixed;
    top: 150px; /* Posiciona abaixo do header */
    z-index: 999;
}

.cadastro-container {
    max-width: 800px;
    margin: 250px auto 40px;
    padding: 40px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	position: relative;
	z-index:100;
}


h1 {
    text-align: center;
    color: #ff4d4d;
    margin-bottom: 25px;
    font-size: 24px;
}

h1 i {
    margin-right: 10px;
}

/* ===== MENSAGENS ===== */
.error-message {
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 5px;
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
    text-align: center;
}

/* ===== ESTRUTURA DO FORMULÁRIO ===== */
.form-container {
    width: 100%;
}

.form-row {
    display: flex;
    gap: 60px;
    margin-bottom: 15px;
	margin: auto;
	margin-right:30px;
}

.form-cad{
	margin:auto;
	display: block;
}

.form-group {
    flex: 2;
    min-width: 100px;
    margin-bottom: 10px;
}

.form-group.large { flex: 2; }
.form-group.medium { flex: 1.5; }
.form-group.small { flex: 0.7; }
.form-group.x-small { flex: 0.5; }

/* ===== ELEMENTOS DO FORMULÁRIO ===== */
label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 14px;
    color: #555;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

input:focus {
    border-color: #ff4d4d;
    outline: none;
    box-shadow: 0 0 0 2px rgba(156, 39, 176, 0.1);
}

/* ===== RADIO BUTTONS ===== */
.radio-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: normal;
    cursor: pointer;
}

/* ===== BOTÃO ===== */
.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #ff4d4d;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
	margin: auto;
	display:block;
	margin-top:30px;
}

/* ===== VALIDAÇÃO ===== */
.message {
    display: block;
    margin-top: 5px;
    font-size: 12px;
}

.password-strength {
    margin-top: 8px;
}

.strength-bar {
    height: 4px;
    background: #eee;
    border-radius: 2px;
    margin-bottom: 3px;
    transition: all 0.3s;
}

.strength-bar.weak { background: #ff5252; width: 25%; }
.strength-bar.medium { background: #ffab40; width: 50%; }
.strength-bar.strong { background: #4caf50; width: 75%; }
.strength-bar.very-strong { background: #2e7d32; width: 100%; }

.strength-text {
    font-size: 11px;
    color: #666;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
    .cadastro-container {
        padding: 20px;
        margin: 220px auto 20px;
		margin-bottom:60px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .form-group,
    .form-group.small,
    .form-group.medium,
    .form-group.large {
        flex: 1 1 100%;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}
/* ===== CAMPO IE OCULTO INICIALMENTE ===== */
#ie_field {
    display: none;
}

/* ===== VALIDAÇÃO ===== */
.message {
    display: block;
    margin-top: 5px;
    font-size: 12px;
}

.message .success {
    color: #28a745;
}

.message .warning {
    color: #FF0000;
}

.message .error {
    color: #FF0000;
}

.password-strength {
    margin-top: 8px;
}

.strength-bar {
    height: 4px;
    background: #eee;
    border-radius: 2px;
    margin-bottom: 3px;
    transition: all 0.3s;
}

.strength-bar.weak { background: #ff5252; width: 25%; }
.strength-bar.medium { background: #ffab40; width: 50%; }
.strength-bar.strong { background: #4caf50; width: 75%; }
.strength-bar.very-strong { background: #2e7d32; width: 100%; }

.strength-text {
    font-size: 11px;
    color: #666;
}

.strength-text.weak { color: #ff5252; }
.strength-text.medium { color: #ffab40; }
.strength-text.strong { color: #4caf50; }
.strength-text.very-strong { color: #2e7d32; }

/* ===== MENSAGENS ===== */
.success-message {
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 5px;
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
    text-align: center;
}

.warning-message {
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 5px;
    background-color: #fff8e1;
    color: #ff8f00;
    border: 1px solid #ffe082;
    text-align: center;
}

