File: /home/onlyfibr/public_html/assinar/css/form.css
/* --- Reset Básico e Estilo Geral --- */
*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
height: 100%; /* Garante que o body ocupe a altura toda */
scroll-behavior: smooth;
}
body {
font-family: 'Poppins', sans-serif;
color: #333;
line-height: 1.6;
margin: 0; /* Remove margem padrão do body */
padding: 0; /* Remove padding padrão */
min-height: 100%; /* Garante altura mínima */
/* --- ESTILOS DO BACKGROUND --- */
/* 1. Imagem de Fundo */
background-image:
/* Camada 2: Gradiente semitransparente (escuro neste exemplo) */
linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
/* Camada 1: Sua imagem de fundo */
url('https://woorise.com/wp-content/uploads/2021/03/Online-event-registration.png'); /* <<< SUBSTITUA PELA URL REAL */
/* 2. Propriedades da Imagem */
background-size: cover; /* Cobre toda a área */
background-position: center center; /* Centraliza a imagem */
background-repeat: no-repeat; /* Não repetir a imagem */
background-attachment: fixed; /* Fixo durante scroll (efeito parallax) */
/* --- Layout Flex para Centralizar o Formulário --- */
display: flex;
justify-content: center;
align-items: center; /* Centraliza verticalmente */
padding: 40px 15px; /* Espaçamento interno do body */
}
/* --- Container Principal do Formulário --- */
/* --- Garante que o container do formulário fique visível --- */
.form-wrapper {
width: 100%;
max-width: 760px;
background-color: rgba(255, 255, 255, 0.95); /* Fundo branco LEVEMENTE transparente */
padding: 35px 45px;
border-radius: 12px;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
/* Adicionado para garantir que fique acima do overlay (se usar pseudo-elemento) */
position: relative;
z-index: 2;
margin: 20px 0; /* Margem vertical caso o conteúdo seja maior que a tela */
}
.form-wrapper h1 {
text-align: center;
margin-bottom: 10px;
color: #2c3e50;
font-weight: 600;
}
.form-wrapper .form-subtitle {
text-align: center;
color: #7f8c8d;
margin-bottom: 30px;
font-size: 0.95em;
}
.form-wrapper hr {
border: none;
border-top: 1px solid #ecf0f1;
margin: 25px 0;
}
/* --- Seções do Formulário --- */
.form-section-card {
margin-bottom: 30px;
padding-top: 10px;
border-top: 1px solid #f0f0f0;
}
.form-section-card:first-of-type {
border-top: none;
padding-top: 0;
}
.form-section-card legend {
font-size: 1.1em;
font-weight: 600;
color: #3498db;
margin-bottom: 20px;
padding-bottom: 5px;
}
/* --- Grupos de Campos e Labels --- */
.form-group {
margin-bottom: 1rem;
}
.form-label {
display: block;
margin-bottom: 0.3rem;
font-weight: 500;
font-size: 0.88em;
color: #555;
}
.form-label .text-danger {
color: #e74c3c;
font-weight: bold;
margin-left: 2px;
}
/* --- Estilo dos Campos --- */
.form-control,
.form-select {
font-size: 0.95rem;
padding: 0.55rem 0.9rem;
border: 1px solid #ced4da;
border-radius: 0.3rem;
}
.form-control::placeholder {
color: #aaa;
}
.form-control:focus,
.form-select:focus {
border-color: #86b7fe;
box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
select.form-select:disabled {
background-color: #e9ecef;
opacity: 0.7;
}
.form-textarea {
min-height: 100px;
resize: vertical;
font-size: 0.95rem;
border: 1px solid #ced4da;
border-radius: 0.3rem;
width: 100%;
padding: 0.55rem 0.9rem;
}
.form-check-input {
margin-top: 0.3em;
width: 1.1em;
height: 1.1em;
}
.form-check-label {
font-weight: 400;
}
/* Feedback de validação */
.is-invalid {
border-color: #dc3545 !important;
}
.invalid-feedback {
display: none;
width: 100%;
margin-top: 0.25rem;
font-size: 0.875em;
color: #dc3545;
}
.is-invalid ~ .invalid-feedback,
.form-control.is-invalid + .invalid-feedback,
.form-select.is-invalid + .invalid-feedback {
display: block;
} /* Mostra feedback */
/* --- Seções PF/PJ --- */
.field-hidden {
display: none;
}
.field-hidden.visible {
display: block;
}
/* --- Botão de Envio --- */
.btn-submit {
font-size: 1.1em;
font-weight: 600;
padding: 0.75rem 1.25rem;
}
/* --- Mensagens --- */
.final-buttons .btn {
margin-right: 10px;
padding: 10px 20px;
}
.modal-body-legal {
max-height: 70vh;
overflow-y: auto;
font-size: 0.9em;
}
.modal-body-legal h2 {
font-size: 1.3em;
margin-top: 1rem;
margin-bottom: 0.5rem;
}