392 lines
8.3 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined');
.icons-container {
display: flex;
gap: 10px;
justify-content: flex-end;
margin-bottom: -7px;
}
.acessibilidade-ativado{
background-color: #1e3a8a;
border: none;
}
.acessibilidade-ativado svg, .acessibilidade-ativado .icon{
color: white;
}
.icons-div{
border: 1px solid #607080;
padding: 10px;
display: flex;
align-items: center;
justify-content: center;
height: 40px;
width: 40px;
border-radius: 10px;
cursor: pointer;
transition: 0.3s;
}
.icons-div:hover{
background-color: #1e3a8a;
}
.icons-div:hover svg, .icons-div:hover .icon{
color:white;
}
svg{
color:black;
}
.icon {
font-family: 'Material Symbols Outlined';
font-size: 20px;
color:black
}
.form-container {
/*max-width: 800px;*/
margin: 20px auto;
padding: 25px;
background: #f5f8ff;
border-radius: 12px;
font-family: Arial, sans-serif;
}
.form-title {
font-size: 26px;
font-weight: bold;
color: #1e3a8a;
margin-bottom: 20px;
}
.form-agendamento label {
display: block;
margin-top: 12px;
font-weight: bold;
color: #333;
}
.form-agendamento input,
.form-agendamento select,
.form-agendamento textarea {
width: 100%;
padding: 8px;
margin-top: 6px;
border: 1px solid #ccc;
border-radius: 6px;
font-size: 14px;
}
.section-title {
font-size: 20px;
margin-top: 25px;
color: #1e40af;
}
.section-subtitle {
font-size: 16px;
margin-top: 20px;
color: #374151;
}
.btn-group button {
margin-right: 8px;
padding: 8px 12px;
border: 1px solid #1e3a8a;
border-radius: 6px;
background: #fff;
cursor: pointer;
}
.btn-group button:hover {
background: #e0e7ff;
}
.form-actions {
margin-top: 25px;
display: flex;
gap: 12px;
}
.btn-primary {
background: #1e3a8a;
color: white;
border: none;
padding: 10px 18px;
border-radius: 6px;
cursor: pointer;
}
.btn-primary:hover {
background: #172554;
}
.btn-cancel {
background: #e5e7eb;
border: none;
padding: 10px 18px;
border-radius: 6px;
cursor: pointer;
}
.btn-cancel:hover {
background: #d1d5db;
}
.btn-secondary {
margin: 10px 0;
background: #4d78cd;
padding: 8px 14px;
border: 1px solid #5d739a;
border-radius: 6px;
cursor: pointer;
max-width: 200px;
}
.btn-secondary:hover {
background: #e5e7eb;
}
.cardconsulta-infosecundaria{
font-size: small;
}
.campos-informacoes-paciente,.campo-informacoes-atendimento{
display: flex;
gap: 10px;
flex-direction: row;
}
.campo-de-input{
display: flex;
flex-direction: column;
}
#informacoes-atendimento-segunda-linha{
margin-top: 10px;
display: flex;
flex-direction: row;
gap: 4rem;
}
textarea{
width: 30px;
resize: both;
}
.campos-informacoes-paciente,
.campo-informacoes-atendimento {
display: flex;
gap: 16px; /* espaço entre campos */
}
.campo-de-input {
flex: 1; /* todos os filhos ocupam mesmo espaço */
display: flex;
flex-direction: column; /* mantém label em cima do input */
}
#informacoes-atendimento-segunda-linha-esquerda select[name="unidade"]{
width: 300px;
}
input[type="time"]{
width: 150px;
}
select[name=solicitante]{
width: 190px;
}
.campo-de-input{
width:120%
}
.form-container {
width: 100%;
max-width: none;
margin: 0; /* >>> sem espaço para encostar no topo <<< */
background: #ffffff;
border-radius: 12px;
padding: 24px;
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
border: 10px solid #ffffff;
box-sizing: border-box;
}
html[data-bs-theme="dark"] .form-container {
background: #232323 !important;
color: #e0e0e0 !important;
border: 1px solid #404053 !important;
}
html[data-bs-theme="dark"] .form-title,
html[data-bs-theme="dark"] .section-title {
color: #90cdf4 !important;
}
html[data-bs-theme="dark"] .section-subtitle {
color: #b0b7c3 !important;
}
html[data-bs-theme="dark"] .form-agendamento label {
color: #e0e0e0 !important;
}
html[data-bs-theme="dark"] .form-agendamento input,
html[data-bs-theme="dark"] .form-agendamento select,
html[data-bs-theme="dark"] .form-agendamento textarea {
background: #181818 !important;
color: #e0e0e0 !important;
border: 1px solid #404053 !important;
}
html[data-bs-theme="dark"] .btn-group button {
background: #232323 !important;
color: #e0e0e0 !important;
border: 1px solid #404053 !important;
}
html[data-bs-theme="dark"] .btn-group button:hover {
background: #404053 !important;
}
html[data-bs-theme="dark"] .btn-primary {
background: #2563eb !important;
color: #fff !important;
}
html[data-bs-theme="dark"] .btn-primary:hover {
background: #1e40af !important;
}
html[data-bs-theme="dark"] .btn-cancel {
background: #404053 !important;
color: #e0e0e0 !important;
}
html[data-bs-theme="dark"] .btn-cancel:hover {
background: #232323 !important;
}
html[data-bs-theme="dark"] .btn-secondary {
background: #374151 !important;
color: #e0e0e0 !important;
border: 1px solid #404053 !important;
}
html[data-bs-theme="dark"] .btn-secondary:hover {
background: #232323 !important;
}
html[data-bs-theme="dark"] .icons-div {
border: 1px solid #404053 !important;
background: #232323 !important;
}
html[data-bs-theme="dark"] .icons-div:hover {
background: #2563eb !important;
}
html[data-bs-theme="dark"] .icons-div:hover svg,
html[data-bs-theme="dark"] .icons-div:hover .icon {
color: #fff !important;
}
html[data-bs-theme="dark"] .icon,
html[data-bs-theme="dark"] svg {
color: #e0e0e0 !important;
}
/* CONTAINER PAI - ESSENCIAL PARA POSICIONAMENTO */
.campo-de-input-container {
position: relative; /* Define o contexto para o dropdown */
/* ... outros estilos de layout (display, margin, etc.) ... */
}
/* ESTILO DA LISTA DROPDOWN */
.dropdown-profissionais {
position: absolute; /* Flutua em relação ao pai (.campo-de-input-container) */
top: 100%; /* Começa logo abaixo do input */
left: 0;
width: 100%; /* Ocupa toda a largura do container pai */
/* Estilos visuais */
background-color: white;
border: 1px solid #ccc;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
z-index: 100; /* Alto z-index para garantir que fique acima de outros elementos */
max-height: 200px;
overflow-y: auto;
}
/* ESTILO DE CADA ITEM DO DROPDOWN */
.dropdown-item {
padding: 10px;
cursor: pointer;
}
.dropdown-item:hover {
background-color: #f0f0f0;
}
.tipo_atendimento{
margin-left: 3rem;
}
/* 1. Estilização Básica e Tamanho (Estado Padrão - Antes de Clicar) */
.checkbox-customs {
/* Remove a aparência padrão do navegador/Bootstrap */
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
/* Define o tamanho desejado */
width: 1.2rem; /* Ajuste conforme o seu gosto (ex: 1.2rem = 19.2px) */
height: 1.2rem;
/* Define o visual "branco com borda preta" */
background-color: #fff; /* Fundo branco */
border: 1px solid #000; /* Borda preta de 1px */
border-radius: 0.25rem; /* Borda levemente arredondada (opcional, imita Bootstrap) */
/* Centraliza o 'check' (quando aparecer) */
display: inline-block;
vertical-align: middle;
cursor: pointer; /* Indica que é clicável */
/* Adiciona a transição suave */
transition: all 0.5s ease; /* Transição em 0.5 segundos para todas as propriedades */
}
/* 2. Estilização no Estado Clicado (:checked) */
.checkbox-customs:checked {
/* Quando clicado, mantém o fundo branco (se quiser mudar, altere aqui) */
background-color: #fff;
/* Se você quiser que a borda mude de cor ao clicar, altere aqui. */
/* border-color: #007bff; */ /* Exemplo: borda azul */
}
/* 3. Ocultar o 'Check' Padrão e Criar um Check Customizado */
/* O Bootstrap/Navegador insere um ícone de 'check'. Vamos controlá-lo com background-image. */
.checkbox-customs:checked {
/* Este código do Bootstrap usa um SVG para o ícone de 'check' */
/* Aqui, estamos forçando o ícone de 'check' a ser preto para combinar com a borda preta. */
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
/* Garante que o ícone fique centralizado e preencha o espaço */
background-size: 100% 100%;
background-position: center;
background-repeat: no-repeat;
}