File: /home/onlyfibr/public_html/assinar/css/style.css
/* style.css - Estilos Comuns do Portal */
body {
font-family: "Poppins", sans-serif;
background-color: #f8f9fa; /* Fundo cinza claro */
color: #333;
line-height: 1.6;
}
.main-container {
margin-top: 2rem;
margin-bottom: 3rem;
background-color: #fff;
padding: 30px;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
min-height: 70vh; /* Garante altura mínima */
}
/* Estilos para Alertas (pode customizar mais) */
.alert {
padding: 1rem;
margin-bottom: 1.5rem;
border: 1px solid transparent;
border-radius: 0.3rem;
font-size: 0.95em;
}
.alert-danger {
color: #842029;
background-color: #f8d7da;
border-color: #f5c6cb;
}
.alert-success {
color: #0f5132;
background-color: #d1e7dd;
border-color: #badbcc;
}
.alert-info {
color: #055160;
background-color: #cff4fc;
border-color: #b6effb;
}
.alert-warning {
color: #664d03;
background-color: #fff3cd;
border-color: #ffecb5;
}
/* Estilo para Títulos de Página */
h1.page-title {
font-size: 1.8em;
font-weight: 600;
color: #343a40;
margin-bottom: 1.5rem;
padding-bottom: 0.5rem;
border-bottom: 1px solid #dee2e6;
}
/* Estilos Comuns de Tabela */
.table {
margin-top: 1.5rem;
}
.table thead th {
background-color: #4a5568;
color: white;
font-weight: 500;
text-align: left;
padding: 0.85rem 0.9rem;
}
.table tbody tr:hover {
background-color: rgba(52, 152, 219, 0.05);
}
.table td,
.table th {
vertical-align: middle;
padding: 0.75rem 0.9rem;
font-size: 0.9rem;
border-bottom: 1px solid #e9ecef;
}
.table .actions-col .btn-sm {
margin-right: 5px;
}
/* Estilos Comuns de Formulário (se desejar padronizar) */
.form-label {
font-weight: 500;
font-size: 0.9em;
color: #555;
margin-bottom: 0.3rem;
}
.form-control,
.form-select {
font-size: 0.95rem;
padding: 0.5rem 0.8rem;
border-radius: 0.25rem;
}
.form-control:focus,
.form-select:focus {
border-color: #86b7fe;
box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
.mensagem-erro {
color: #721c24;
background-color: #f8d7da;
border: 1px solid #f5c6cb;
padding: 10px;
margin-bottom: 15px;
border-radius: 5px;
}
.mensagem-sucesso {
color: #155724;
background-color: #d4edda;
border: 1px solid #c3e6cb;
padding: 10px;
margin-bottom: 15px;
border-radius: 5px;
}
.selecao-contrato label {
display: block;
margin-bottom: 10px;
border: 1px solid #ccc;
padding: 15px;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.2s;
}
.selecao-contrato label:hover {
background-color: #e9ecef;
}
.selecao-contrato input[type="radio"] {
margin-right: 10px;
}
.info-cliente {
background-color: #e9ecef;
padding: 20px;
border-radius: 5px;
margin-bottom: 25px;
border: 1px solid #ced4da;
}
.info-cliente h4 {
margin-bottom: 15px;
}
.menu-acoes {
margin-top: 20px;
}
.menu-acoes h4 {
margin-bottom: 15px;
}
.menu-acoes .btn {
margin-right: 10px;
margin-bottom: 10px;
min-width: 180px;
}
/* --- Estilos para o Formulário de Login --- */
.login-form-wrapper {
width: 100%;
max-width: 450px; /* Mais estreito para login */
margin: 60px auto; /* Mais margem no topo */
background-color: #ffffff;
padding: 40px 35px; /* Padding interno */
border-radius: 10px;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
text-align: center; /* Centraliza título e link */
}
.login-form-wrapper h2 {
margin-bottom: 25px;
color: #2c3e50;
font-weight: 600;
font-size: 1.6em;
}
/* Estilo para o input de CPF/CNPJ (reutilizando .form-input) */
.form-input {
display: block;
width: 100%;
padding: 10px 14px;
border: 1px solid #ced4da; /* Borda padrão Bootstrap cinza */
border-radius: 6px;
font-size: 1rem; /* Tamanho de fonte normal */
font-family: 'Poppins', sans-serif;
color: #333;
transition: border-color 0.3s ease, box-shadow 0.3s ease;
background-color: #fff;
margin-bottom: 0.5rem; /* Espaço antes do feedback */
}
.form-input::placeholder { color: #aaa; }
.form-input:focus {
outline: none;
border-color: #86b7fe; /* Azul claro Bootstrap no foco */
box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
.form-input.is-invalid { /* Mantém estilo de erro Bootstrap */
border-color: #dc3545 !important;
}
.invalid-feedback { /* Mensagem de erro Bootstrap */
display: none; width: 100%; margin-top: .25rem; font-size: .875em; color: #dc3545; text-align: left;
}
.is-invalid ~ .invalid-feedback, .form-control.is-invalid + .invalid-feedback { display: block; }
/* Estilo para o botão de Entrar (reutilizando .btn-submit) */
.btn-submit {
display: block;
width: 100%;
padding: 12px 25px;
background: linear-gradient(45deg, #3498db, #2980b9); /* Gradiente Azul */
color: #fff;
border: none;
border-radius: 6px;
font-size: 1.1em;
font-weight: 500;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.1s ease;
margin-top: 1.5rem; /* Espaço acima do botão */
}
.btn-submit:hover { background: linear-gradient(45deg, #2980b9, #3498db); }
.btn-submit:active { transform: translateY(1px); }
/* Estilo para o "rodapé" do login (link pré-cadastro) */
.login-footer {
margin-top: 2rem; /* Mais espaço acima */
font-size: 0.9em;
color: #6c757d; /* Cinza Bootstrap */
}
.login-footer a {
color: #0d6efd; /* Azul Bootstrap */
text-decoration: none;
font-weight: 500;
}
.login-footer a:hover {
text-decoration: underline;
color: #0a58ca;
}
.form-logout {
margin-top: 30px;
text-align: right;
}
h1 {
text-align: center;
margin-bottom: 30px;
color: #0d6efd;
}
.footer {
color: #fff;
padding: 20px;
text-align: center;
margin-top: 50px;
}
.footer ul {
list-style: none;
padding: 0;
margin: 0;
}
.footer li {
display: inline-block;
margin: 0 10px;
}
.footer a a:hover {
color: #fff;
text-decoration: none;
}