783 lines
14 KiB
CSS
783 lines
14 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;
|
|
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;
|
|
}
|
|
|
|
.campo-de-input {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
#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;
|
|
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;
|
|
}
|
|
|
|
.campo-de-input-container {
|
|
position: relative;
|
|
}
|
|
|
|
|
|
.dropdown-profissionais {
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 0;
|
|
width: 100%;
|
|
background-color: white;
|
|
border: 1px solid #ccc;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
|
z-index: 100;
|
|
max-height: 200px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.dropdown-item {
|
|
padding: 10px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.dropdown-item:hover {
|
|
background-color: #f0f0f0;
|
|
}
|
|
|
|
.tipo_atendimento{
|
|
margin-left: 3rem;
|
|
}
|
|
|
|
.checkbox-customs {
|
|
-webkit-appearance: none;
|
|
-moz-appearance: none;
|
|
appearance: none;
|
|
width: 1.2rem;
|
|
height: 1.2rem;
|
|
background-color: #fff;
|
|
border: 1px solid #000;
|
|
border-radius: 0.25rem;
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
cursor: pointer;
|
|
transition: all 0.5s ease;
|
|
}
|
|
|
|
.checkbox-customs:checked {
|
|
background-color: #fff;
|
|
}
|
|
|
|
|
|
.checkbox-customs:checked {
|
|
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");
|
|
background-size: 100% 100%;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
}
|
|
|
|
|
|
.linha {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
gap: 20px;
|
|
}
|
|
|
|
|
|
.seletor-wrapper {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.sessao-contador {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
background-color: #e9ecef;
|
|
border: 1px solid #ced4da;
|
|
border-radius: 0.25rem;
|
|
height: 40px;
|
|
width: 100px;
|
|
padding: 0 5px;
|
|
font-size: 1rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.sessao-valor {
|
|
margin: 0;
|
|
padding: 0 5px;
|
|
font-size: 1.1rem;
|
|
color: #007bff;
|
|
}
|
|
|
|
.sessao-contador button {
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
padding: 0 2px;
|
|
color: #495057;
|
|
font-size: 1.5rem;
|
|
line-height: 1;
|
|
transition: color 0.2s;
|
|
}
|
|
|
|
.sessao-contador button:hover:not(:disabled) {
|
|
color: #007bff;
|
|
}
|
|
|
|
.sessao-contador button:disabled {
|
|
cursor: not-allowed;
|
|
color: #adb5bd;
|
|
}
|
|
|
|
|
|
/* ========== Modal Overlay ========== */
|
|
.modal-overlay {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
z-index: 9999;
|
|
animation: fadeIn 0.3s ease-in;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
/* ========== Modal Content ========== */
|
|
.modal-content {
|
|
background-color: #fff;
|
|
border-radius: 10px;
|
|
width: 400px;
|
|
max-width: 90%;
|
|
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
|
|
overflow: hidden;
|
|
animation: slideIn 0.3s ease-out;
|
|
}
|
|
|
|
@keyframes slideIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(-20px) scale(0.95);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0) scale(1);
|
|
}
|
|
}
|
|
|
|
/* ========== Modal Header ========== */
|
|
.modal-header {
|
|
background-color: #1e3a8a;
|
|
padding: 15px 20px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.modal-header.success {
|
|
background-color: #1e3a8a !important;
|
|
}
|
|
|
|
.modal-header.error {
|
|
background-color: #dc3545 !important;
|
|
}
|
|
|
|
.modal-header .modal-title {
|
|
color: #fff;
|
|
margin: 0;
|
|
font-size: 1.2rem;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.modal-close-btn {
|
|
background: none;
|
|
border: none;
|
|
font-size: 20px;
|
|
color: #fff;
|
|
cursor: pointer;
|
|
padding: 0;
|
|
width: 24px;
|
|
height: 24px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 4px;
|
|
transition: background-color 0.2s;
|
|
}
|
|
|
|
.modal-close-btn:hover {
|
|
background-color: rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
/* ========== Modal Body ========== */
|
|
.modal-body {
|
|
padding: 25px 20px;
|
|
background: #fff;
|
|
}
|
|
|
|
.modal-body .modal-message {
|
|
color: #111;
|
|
font-size: 1.1rem;
|
|
margin: 0;
|
|
font-weight: 600;
|
|
line-height: 1.4;
|
|
text-align: center;
|
|
}
|
|
|
|
.modal-submessage {
|
|
color: #666;
|
|
font-size: 0.9rem;
|
|
margin: 10px 0 0 0;
|
|
line-height: 1.4;
|
|
text-align: center;
|
|
}
|
|
|
|
/* ========== Modal Footer ========== */
|
|
.modal-footer {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
padding: 15px 20px;
|
|
border-top: 1px solid #ddd;
|
|
background: #fff;
|
|
}
|
|
|
|
.modal-confirm-btn {
|
|
background-color: #1e3a8a;
|
|
color: #fff;
|
|
border: none;
|
|
padding: 8px 20px;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-size: 1rem;
|
|
font-weight: bold;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.modal-confirm-btn:hover {
|
|
background-color: #1e40af;
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.modal-confirm-btn.success {
|
|
background-color: #1e3a8a !important;
|
|
}
|
|
|
|
.modal-confirm-btn.success:hover {
|
|
background-color: #1e40af !important;
|
|
}
|
|
|
|
.modal-confirm-btn.error {
|
|
background-color: #dc3545 !important;
|
|
}
|
|
|
|
.modal-confirm-btn.error:hover {
|
|
background-color: #c82333 !important;
|
|
}
|
|
|
|
|
|
/* ========== Dark Mode ========== */
|
|
html[data-bs-theme="dark"] .modal-content {
|
|
background: #232323 !important;
|
|
border: 1px solid #404053;
|
|
}
|
|
|
|
html[data-bs-theme="dark"] .modal-header {
|
|
background: #1e3a8a !important;
|
|
}
|
|
|
|
html[data-bs-theme="dark"] .modal-header.success {
|
|
background-color: #1e3a8a !important;
|
|
}
|
|
|
|
html[data-bs-theme="dark"] .modal-header.error {
|
|
background-color: #dc3545 !important;
|
|
}
|
|
|
|
html[data-bs-theme="dark"] .modal-header .modal-title,
|
|
html[data-bs-theme="dark"] .modal-close-btn {
|
|
color: white !important;
|
|
}
|
|
|
|
html[data-bs-theme="dark"] .modal-body {
|
|
background: #232323 !important;
|
|
}
|
|
|
|
html[data-bs-theme="dark"] .modal-body .modal-message {
|
|
color: #e0e0e0 !important;
|
|
}
|
|
|
|
html[data-bs-theme="dark"] .modal-submessage {
|
|
color: #b0b7c3 !important;
|
|
}
|
|
|
|
html[data-bs-theme="dark"] .modal-footer {
|
|
background: #232323 !important;
|
|
border-top: 1px solid #404053;
|
|
}
|
|
|
|
html[data-bs-theme="dark"] .modal-confirm-btn {
|
|
background: #2563eb !important;
|
|
}
|
|
|
|
html[data-bs-theme="dark"] .modal-confirm-btn:hover {
|
|
background: #1e40af !important;
|
|
}
|
|
|
|
/* ========== Responsive ========== */
|
|
@media (max-width: 768px) {
|
|
.modal-content {
|
|
width: 95%;
|
|
margin: 1rem;
|
|
}
|
|
|
|
.modal-body {
|
|
padding: 20px 15px;
|
|
}
|
|
|
|
.modal-message {
|
|
font-size: 1rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.modal-header {
|
|
padding: 12px 15px;
|
|
}
|
|
|
|
.modal-header .modal-title {
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.modal-body {
|
|
padding: 15px;
|
|
}
|
|
|
|
.modal-footer {
|
|
padding: 12px 15px;
|
|
}
|
|
|
|
.modal-confirm-btn {
|
|
padding: 6px 16px;
|
|
font-size: 0.9rem;
|
|
}
|
|
}
|
|
|
|
|
|
.horario-termino-readonly {
|
|
background-color: #f8f9fa;
|
|
color: #6c757d;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
html[data-bs-theme="dark"] .horario-termino-readonly {
|
|
background-color: #2d3748 !important;
|
|
color: #a0aec0 !important;
|
|
}
|
|
|
|
.campo-cpf{
|
|
margin-left: 40px;
|
|
}
|
|
|
|
input[name="paciente_cpf"]{
|
|
width: 12rem;
|
|
}
|
|
|
|
.dropdown-pacientes{
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 0;
|
|
|
|
background-color: white;
|
|
border: 1px solid #ccc;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
|
z-index: 100;
|
|
max-height: 200px;
|
|
overflow-y: auto;
|
|
}
|
|
#informacoes-atendimento-segunda-linha .linha-horarios {
|
|
display: flex;
|
|
gap: 16px;
|
|
align-items: flex-end; /* alinha pela base dos inputs */
|
|
}
|
|
|
|
#informacoes-atendimento-segunda-linha .linha-horarios .campo-de-input {
|
|
flex: 1;
|
|
}
|
|
.campo-de-input-container {
|
|
display: flex;
|
|
gap: 16px; /* nome e cpf na mesma linha */
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.campo-de-input {
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.campo-de-input label {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.campo-de-input input,
|
|
.campo-de-input select,
|
|
.campo-de-input textarea {
|
|
width: 220px; /* ajuste pro layout que você quer */
|
|
padding: 6px 10px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 3px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
/* placeholder visível e suave */
|
|
.campo-de-input input::placeholder {
|
|
color: #999;
|
|
opacity: 1; /* garante no Firefox */
|
|
}
|
|
/* bloco da coluna esquerda (Data, Início, Término) */
|
|
#informacoes-atendimento-segunda-linha-esquerda {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
/* linha com Início e Término */
|
|
#informacoes-atendimento-segunda-linha-esquerda .linha {
|
|
display: flex;
|
|
gap: 16px;
|
|
align-items: flex-end;
|
|
}
|
|
|
|
/* mesma largura pros três campos */
|
|
#informacoes-atendimento-segunda-linha-esquerda .campo-de-input input,
|
|
#informacoes-atendimento-segunda-linha-esquerda .campo-de-input select {
|
|
width: 230px;
|
|
box-sizing: border-box;
|
|
}
|
|
.informacoes-atendimento-segunda-linha-direita {
|
|
width: 100%;
|
|
}
|
|
|
|
.informacoes-atendimento-segunda-linha-direita .campo-de-input textarea {
|
|
width: 100%; /* ocupa toda a coluna da direita */
|
|
min-height: 150px; /* aumenta a altura (muda pra 200, 250 se quiser maior) */
|
|
resize: vertical;
|
|
box-sizing: border-box;
|
|
}
|
|
#informacoes-atendimento-segunda-linha {
|
|
display: grid;
|
|
grid-template-columns: auto 1.8fr; /* coluna da direita grande, mas não infinita */
|
|
gap: 24px;
|
|
}
|
|
|
|
/* garante que o container da direita não estoure */
|
|
.informacoes-atendimento-segunda-linha-direita {
|
|
max-width: 800px; /* ajusta se quiser menor/maior */
|
|
width: 100%;
|
|
}
|
|
|
|
.informacoes-atendimento-segunda-linha-direita .campo-de-input textarea {
|
|
width: 100%;
|
|
min-height: 150px;
|
|
resize: vertical;
|
|
box-sizing: border-box;
|
|
}
|