@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; justify-content: flex-end; } .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; } /* Container dos três elementos na linha */ .linha { display: flex; align-items: flex-end; /* Garante que os campos de input e o seletor fiquem alinhados pela base */ gap: 20px; /* Espaçamento entre os campos */ } /* ------------------------------------------- */ /* ESTILIZAÇÃO DO SELETOR DE SESSÕES */ /* ------------------------------------------- */ .seletor-wrapper { /* Garante que o label e o contador fiquem alinhados verticalmente com os selects */ display: flex; flex-direction: column; } .sessao-contador { /* Estilo de "campo de input" */ display: flex; align-items: center; justify-content: space-between; /* Cores e Bordas */ background-color: #e9ecef; /* Cor cinza claro dos inputs do Bootstrap */ border: 1px solid #ced4da; /* Borda sutil */ border-radius: 0.25rem; /* Bordas arredondadas (Padrão Bootstrap) */ /* Garante a mesma altura dos selects */ height: 40px; /* Ajuste este valor para corresponder à altura exata do seu select */ width: 100px; /* Largura ajustável */ padding: 0 5px; /* Padding interno */ font-size: 1rem; font-weight: 500; } .sessao-valor { /* Estilo do número de sessões */ margin: 0; padding: 0 5px; font-size: 1.1rem; /* Um pouco maior que o texto dos selects */ color: #007bff; /* Cor azul destacada (como na sua imagem) */ } .sessao-contador button { /* Estilo dos botões de chevron */ background: none; border: none; cursor: pointer; padding: 0 2px; color: #495057; /* Cor do ícone */ font-size: 1.5rem; /* Aumenta o tamanho dos ícones do chevron */ line-height: 1; /* Alinha o ícone verticalmente */ transition: color 0.2s; } .sessao-contador button:hover:not(:disabled) { color: #007bff; /* Cor azul ao passar o mouse */ } .sessao-contador button:disabled { cursor: not-allowed; color: #adb5bd; /* Cor mais clara quando desabilitado */ } /* ------------------------------------------- */ /* GARANTINDO COERÊNCIA NOS SELECTS */ /* ------------------------------------------- */ .campo-de-input select { /* Se seus selects estiverem com estilos diferentes, este bloco garante que eles se pareçam */ /* com o seletor de sessões (se já usarem classes do Bootstrap, podem não precisar disso) */ background-color: #e9ecef; /* Fundo cinza claro */ border: 1px solid #ced4da; /* Borda sutil */ border-radius: 0.25rem; height: 40px; /* Garante a mesma altura do sessao-contador */ /* Adicione mais estilos do seu input/select se necessário (ex: font-size, padding) */ }