/* Agendamento online do site (usa as cores do site quando dentro dele) */
.agendar { max-width: 880px; min-width: 0; overflow-x: hidden; }
.agendar .ag-topo h1 { margin: .2em 0; }
.ag-cartao { min-width: 0; max-width: 100%; box-sizing: border-box; border: 1px solid #e3e7e5; border-radius: 14px; padding: 18px 20px; margin: 0 0 18px; background: #fff; }
.ag-cartao legend { font-weight: 700; font-size: 1.1rem; padding: 0 6px; }
.ag-passo { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; background: #00261c; color: #fff; align-items: center; justify-content: center; font-size: .85rem; margin-right: 6px; }
.ag-profs { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.ag-prof { display: flex; gap: 12px; align-items: center; border: 1px solid #dfe5e2; border-radius: 12px; padding: 10px 12px; cursor: pointer; }
.ag-prof:has(input:checked) { border-color: #00261c; box-shadow: 0 0 0 2px rgba(0,38,28,.18); background: #effcf2; }
.ag-prof input { accent-color: #00261c; }
.ag-foto { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: #ccffd9; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #00261c; flex: none; }
.ag-foto img { width: 100%; height: 100%; object-fit: cover; }
.ag-campo { width: 100%; padding: 10px 12px; border: 1px solid #cfd8d4; border-radius: 10px; font: inherit; margin-top: 4px; background: #fff; box-sizing: border-box; }
.ag-opcoes { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 12px; }
.ag-opcoes input { accent-color: #00261c; }
.ag-dias, .ag-horas { display: flex; gap: 8px; flex-wrap: wrap; }
.ag-dias { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; }
.ag-horas { margin-top: 12px; }
.ag-dia, .ag-hora { border: 1px solid #cfd8d4; background: #fff; border-radius: 10px; padding: 8px 12px; cursor: pointer; font: inherit; white-space: nowrap; }
.ag-dia.ativo, .ag-hora.ativo { background: #00261c; border-color: #00261c; color: #fff; }
.ag-grade { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ag-grade label { font-weight: 600; font-size: .95rem; }
.ag-largo { grid-column: 1 / -1; }
.ag-ajuda { color: #5f6b67; font-size: .92rem; }
.ag-termo { max-height: 180px; overflow: auto; white-space: pre-wrap; background: #f6f8f7; border-radius: 10px; padding: 12px; font-size: .9rem; margin-top: 12px; }
.ag-resumo { margin: 14px 0; padding: 12px; background: #effcf2; border-radius: 10px; }
.ag-resumo:empty { display: none; }
.ag-erro { background: #fdecec; color: #8b1a1a; border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; }
.ag-oculto { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 600px) { .ag-grade { grid-template-columns: 1fr; } }

.ag-prof-texto { display: flex; flex-direction: column; gap: 2px; line-height: 1.3; }
.ag-prof-texto small { color: #5b6b66; }
.ag-opcoes label[hidden] { display: none; }
