/* Zera margens padrão da página */ html, body { margin: 0; padding: 0; } /* ----- filtros e botões ----- */ .filtros-container select, .filtros-container input { padding: 0.5rem; border-radius: 5px; border: 1px solid #ccc; } .btn-buscar { padding: 0.5rem 1rem; margin-right: 0.5rem; border: none; border-radius: 5px; background-color: #f0f0f0; cursor: pointer; } /* ----- unidade/profissional ----- */ .unidade-selecionarprofissional { background-color: #fdfdfdde; padding: 20px 10px; display: flex; border-radius: 10px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); } .unidade-selecionarprofissional input, .unidade-selecionarprofissional select { margin-left: 8px; border-radius: 8px; padding: 5px; width: 20%; } .unidade-selecionarprofissional select { width: 7%; } /* ----- busca atendimento ----- */ .busca-atendimento { display: flex; flex-direction: row; margin: 10px; justify-content: flex-end; } .busca-atendimento select { padding: 5px; border-radius: 8px; margin-left: 15px; background-color: #0078d7; color: white; font-weight: bold; } .busca-atendimento input { margin-left: 8px; border-radius: 8px; padding: 5px; width: 100%; } /* ----- botões de seleção ----- */ .btn-selecionar-tabeladia, .btn-selecionar-tabelasemana, .btn-selecionar-tabelames { background-color: rgba(231, 231, 231, 0.808); padding: 8px 10px; font-size: larger; font-weight: bold; border-style: hidden; } .btn-selecionar-tabeladia { border-radius: 10px 0 0 10px; } .btn-selecionar-tabelames { border-radius: 0 10px 10px 0; } .btn-selecionar-tabeladia.ativo, .btn-selecionar-tabelasemana.ativo, .btn-selecionar-tabelames.ativo { background-color: lightcyan; border-color: darkcyan; font-weight: bolder; } .btns-e-legenda-container { display: flex; justify-content: space-between; flex-direction: row; margin-top: 10px; } /* ----- legenda ----- */ .legenda-tabela { display: flex; justify-content: flex-end; margin-top: 10px; margin-bottom: 10px; gap: 15px; } .legenda-item-realizado { background-color: #2c5e37; } .legenda-item-confirmado { background-color: #1e90ff; } .legenda-item-cancelado { background-color: #d9534f; } .legenda-item-agendado { background-color: #f0ad4e; } #status-card-consulta-realizado, .legenda-item-realizado { background-color: #b7ffbd; border: 3px solid #91d392; padding: 5px; font-weight: bold; border-radius: 10px; } #status-card-consulta-cancelado, .legenda-item-cancelado { background-color: #ffb7cc; border: 3px solid #ff6c84; padding: 5px; font-weight: bold; border-radius: 10px; } #status-card-consulta-confirmado, .legenda-item-confirmado { background-color: #eef8fb; border: 3px solid #d8dfe7; padding: 5px; font-weight: bold; border-radius: 10px; } #status-card-consulta-agendado, .legenda-item-agendado { background-color: #f7f7c4; border: 3px solid #f3ce67; padding: 5px; font-weight: bold; border-radius: 10px; } /* ----- calendário ----- */ .calendario { border-collapse: collapse; width: 100%; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 12px rgb(255, 255, 255); border: 10px solid #ffffffc5; background-color: rgb(253, 253, 253); } .calendario-ou-filaespera { margin-top: 0; } .container-btns-agenda-fila_esepera { margin-top: 30px; display: flex; flex-direction: row; gap: 20px; margin-left: 20px; } .btn-fila-espera, .btn-agenda { background-color: transparent; border: 0; border-bottom: 3px solid rgb(253, 253, 253); padding: 8px; border-radius: 10px 10px 0 0; font-weight: bold; } .opc-filaespera-ativo, .opc-agenda-ativo { color: white; background-color: #5980fd; } /* ===== Fila de Espera ===== */ .fila-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; } .fila-titulo { text-align: center; font-size: 1.8rem; font-weight: bold; margin-bottom: 20px; color: #333; border-bottom: 2px solid #e0e0e0; padding-bottom: 10px; } .fila-tabela { width: 100%; border-collapse: collapse; font-size: 1rem; } .fila-tabela thead { background-color: #f7fbff; } .fila-tabela th, .fila-tabela td { padding: 12px 16px; text-align: left; border-bottom: 1px solid #e0e0e0; } .fila-tabela th { font-weight: bold; color: #444; background-color: #f1f1f1 } /* --- Linhas alternadas cinza/branco --- */ .fila-tabela tbody tr:nth-child(even) { background-color: #f9f9f9; /* cinza clarinho */ } .fila-tabela tbody tr:nth-child(odd) { background-color: #ffffff; /* branco */ } .fila-tabela tbody tr:hover { background-color: #f1f6fa; /* hover sutil */ } @media (max-width: 768px) { .fila-tabela th, .fila-tabela td { padding: 8px; font-size: 0.9rem; } .fila-titulo { font-size: 1.5rem; } } @media (max-width: 576px) { .unidade-selecionarprofissional { flex-direction: column; gap: 10px; } .unidade-selecionarprofissional input, .unidade-selecionarprofissional select { width: 100%; margin-left: 0; } .busca-fila-espera { position: static; width: 100%; margin-bottom: 8px; } .fila-header { height: auto; flex-direction: column; gap: 8px; } .btns-e-legenda-container { flex-direction: column; gap: 10px; } .legenda-tabela { justify-content: center; flex-wrap: wrap; } } .fila-header { position: relative; display: flex; align-items: center; justify-content: center; /* centraliza o título */ margin-bottom: 16px; height: 40px; /* altura da linha */ } .busca-fila-espera { position: absolute; left: 0; /* barra na esquerda */ padding: 6px 12px; border: 1px solid #ccc; border-radius: 6px; font-size: 1rem; width: 350px; outline: none; transition: border-color 0.2s; } .busca-fila-espera:focus { border-color: #888; } .fila-header h2 { margin: 0; font-size: 1.5rem; text-align: center; } html[data-bs-theme="dark"] .fila-container { background: #232323 !important; color: #e0e0e0 !important; border-color: #333 !important; } html[data-bs-theme="dark"] .fila-titulo { color: #e0e0e0 !important; border-bottom: 2px solid #444 !important; } html[data-bs-theme="dark"] .fila-tabela th { background-color: #333 !important; color: #e0e0e0 !important; } html[data-bs-theme="dark"] .fila-tabela tbody tr:nth-child(even) { background-color: #2a2a2a !important; } html[data-bs-theme="dark"] .fila-tabela tbody tr:nth-child(odd) { background-color: #232323 !important; } html[data-bs-theme="dark"] .fila-tabela tbody tr:hover { background-color: #2d3540 !important; } html[data-bs-theme="dark"] .busca-fila-espera { background: #232323 !important; color: #e0e0e0 !important; border-color: #444 !important; } html[data-bs-theme="dark"] .busca-fila-espera:focus { border-color: #5980fd !important; }