/* AmaSer Clínica — agendamento on-line e Área do Paciente */
.amaser-bk { --cafe:#4a2f1f; --marrom:#8B5E3C; --ouro:#C9A45C; --ouro2:#d9b56a; --creme:#f6f1ea; --linha:#e7dccd; --texto:#3b2a1e; max-width: 760px; margin: 0 auto; color: var(--texto); font-size: 16px; line-height: 1.45; }
.amaser-bk * { box-sizing: border-box; }
.amaser-bk .bk-card { background: #fff; border: 1px solid var(--linha); border-radius: 18px; padding: 22px; margin: 0 0 16px; box-shadow: 0 6px 24px rgba(74,47,31,.07); }
.amaser-bk .bk-title { color: var(--cafe); font-size: 22px; margin: 0 0 4px; line-height: 1.25; }
.amaser-bk .bk-sub { color: #8a7560; margin: 0 0 16px; }
.amaser-bk .bk-h3 { color: var(--cafe); font-size: 17px; margin: 0 0 12px; }
.amaser-bk .bk-small { font-size: 14px; color: #8a7560; }
.amaser-bk .bk-loading { color: #8a7560; text-align: center; padding: 18px 0; }
.amaser-bk .bk-loading::before { content: ""; display: inline-block; width: 16px; height: 16px; margin-right: 8px; vertical-align: -3px; border: 2px solid var(--ouro2); border-right-color: transparent; border-radius: 50%; animation: bkspin .8s linear infinite; }
@keyframes bkspin { to { transform: rotate(360deg); } }
.amaser-bk .bk-err { color: #b3261e; background: #fdecea; border-radius: 10px; padding: 10px 12px; }
.amaser-bk .bk-hp { position: absolute !important; left: -9999px !important; height: 0; width: 0; opacity: 0; }

.amaser-bk .bk-steps { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 14px; counter-reset: s; }
.amaser-bk .bk-steps li { flex: 1; counter-increment: s; font-size: 12px; text-align: center; color: #a89786; border-top: 4px solid var(--linha); padding-top: 6px; }
.amaser-bk .bk-steps li.on { color: var(--cafe); border-color: var(--ouro); font-weight: 700; }
.amaser-bk .bk-steps li.done { color: var(--marrom); border-color: var(--marrom); }

.amaser-bk button { font-family: inherit; }
.amaser-bk .bk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.amaser-bk .bk-opt, .amaser-bk .bk-prof { width: 100%; text-align: left; background: var(--creme); border: 1px solid var(--linha); border-radius: 14px; padding: 16px; font-size: 16px; color: var(--cafe); cursor: pointer; transition: transform .1s, box-shadow .1s, border-color .1s; }
.amaser-bk .bk-opt:hover, .amaser-bk .bk-prof:hover { border-color: var(--ouro); box-shadow: 0 4px 14px rgba(201,164,92,.25); transform: translateY(-1px); }
.amaser-bk .bk-opt { font-weight: 700; text-align: center; }
.amaser-bk .bk-prof { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 10px; border-left: 5px solid var(--c, var(--marrom)); }
.amaser-bk .bk-avatar { flex: 0 0 48px; height: 48px; border-radius: 50%; background: var(--cafe); color: var(--ouro2); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; }
.amaser-bk .bk-prof-txt { display: flex; flex-direction: column; gap: 2px; }
.amaser-bk .bk-prof-txt small { color: #8a7560; font-size: 13px; }
.amaser-bk .bk-prof-txt em { font-style: normal; color: var(--texto); font-size: 14px; margin: 4px 0; }

.amaser-bk .bk-days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.amaser-bk .bk-day { flex: 0 0 68px; scroll-snap-align: start; border: 1px solid var(--linha); background: #fff; border-radius: 12px; padding: 8px 4px; cursor: pointer; display: flex; flex-direction: column; align-items: center; color: var(--cafe); }
.amaser-bk .bk-day small { font-size: 12px; text-transform: uppercase; color: #a89786; }
.amaser-bk .bk-day strong { font-size: 17px; }
.amaser-bk .bk-day.on { background: var(--cafe); color: #fff; border-color: var(--cafe); }
.amaser-bk .bk-day.on small { color: var(--ouro2); }
.amaser-bk .bk-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin: 14px 0; }
.amaser-bk .bk-slots p { grid-column: 1 / -1; }
.amaser-bk .bk-slot { border: 1px solid var(--ouro); background: #fffaf0; border-radius: 10px; padding: 11px 4px; font-size: 16px; font-weight: 700; color: var(--cafe); cursor: pointer; }
.amaser-bk .bk-slot:hover { background: var(--ouro2); }

.amaser-bk .bk-summary { background: var(--creme); border-left: 5px solid var(--ouro2); border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; display: flex; flex-direction: column; gap: 2px; }
.amaser-bk .bk-summary strong { font-size: 18px; color: var(--cafe); }
.amaser-bk .bk-summary span { color: #8a7560; font-size: 14px; }
.amaser-bk .bk-form label, .amaser-bk .bk-field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; font-size: 14px; font-weight: 600; color: var(--cafe); position: relative; }
.amaser-bk .bk-form input:not([type=checkbox]), .amaser-bk .bk-form textarea, .amaser-bk #loginform input[type=text], .amaser-bk #loginform input[type=password] { width: 100%; padding: 12px; border: 1px solid #d8c9b5; border-radius: 10px; font-size: 16px; background: #fff; color: var(--texto); }
.amaser-bk .bk-field.bad input { border-color: #b3261e; background: #fff7f6; }
.amaser-bk .bk-field.bad::after { content: attr(data-err); color: #b3261e; font-weight: normal; font-size: 13px; }
.amaser-bk .bk-check { flex-direction: row !important; align-items: flex-start; gap: 10px !important; font-weight: normal !important; color: var(--texto) !important; font-size: 13px !important; background: #faf6f0; padding: 10px 12px; border-radius: 10px; }
.amaser-bk .bk-check input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 18px; accent-color: var(--cafe); }
.amaser-bk .bk-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.amaser-bk .bk-guardian { border: 1px dashed var(--ouro); border-radius: 12px; padding: 12px 12px 2px; margin-bottom: 12px; background: #fffaf0; }

.amaser-bk .bk-btn, .amaser-bk #loginform .button-primary { display: block; width: 100%; text-align: center; background: var(--cafe); color: #fff !important; border: 0; border-radius: 12px; padding: 15px; font-size: 17px; font-weight: 700; cursor: pointer; text-decoration: none; margin: 8px 0; }
.amaser-bk .bk-btn:hover { background: var(--marrom); }
.amaser-bk .bk-btn:disabled { opacity: .6; }
.amaser-bk .bk-btn-gold { background: var(--ouro); color: #2a1a10 !important; }
.amaser-bk .bk-btn-light { background: #fff; color: var(--cafe) !important; border: 1px solid #c8b69f; }
.amaser-bk .bk-back, .amaser-bk .bk-link { background: none; border: 0; color: var(--marrom); cursor: pointer; padding: 6px 0; font-size: 15px; text-decoration: none; }
.amaser-bk .bk-done { text-align: center; }
.amaser-bk .bk-done .bk-summary { text-align: left; }
.amaser-bk .bk-check-big { width: 64px; height: 64px; border-radius: 50%; background: #e6f4ea; color: #1e6b35; font-size: 36px; line-height: 64px; margin: 0 auto 10px; }

/* Área do Paciente */
.amaser-bk .bk-tabs { display: flex; gap: 6px; margin: 0 0 14px; background: var(--creme); border-radius: 12px; padding: 4px; }
.amaser-bk .bk-tabs a { flex: 1; text-align: center; padding: 10px; border-radius: 9px; text-decoration: none; color: var(--marrom); font-weight: 600; }
.amaser-bk .bk-tabs a.on { background: #fff; color: var(--cafe); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.amaser-bk #loginform p { margin: 0 0 12px; }
.amaser-bk #loginform label { font-weight: 600; color: var(--cafe); display: block; margin-bottom: 4px; }
.amaser-bk #loginform .login-remember label { font-weight: normal; }
.amaser-bk .bk-hello { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.amaser-bk .bk-appt { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-left: 5px solid var(--c, var(--marrom)); background: var(--creme); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; }
.amaser-bk .bk-appt > div { display: flex; flex-direction: column; gap: 2px; }
.amaser-bk .bk-appt span { color: #8a7560; font-size: 14px; }
.amaser-bk .bk-appt.is-now { background: #fff8e6; box-shadow: 0 0 0 2px var(--ouro); }
.amaser-bk .bk-appt .bk-btn { width: auto; padding: 12px 20px; margin: 0; }
.amaser-bk .bk-wait { font-size: 13px; color: #8a7560; }
.amaser-bk .bk-tag { display: inline-block; font-size: 12px !important; background: #fff; border-radius: 8px; padding: 1px 8px; width: max-content; }
.amaser-bk .bk-tag.bad { background: #fdecea; color: #b3261e !important; }
.amaser-bk .bk-pay { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1px solid var(--linha); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; }
.amaser-bk .bk-pay > div { display: flex; flex-direction: column; }
.amaser-bk .bk-pay strong { font-size: 18px; color: var(--cafe); }
.amaser-bk .bk-pay span { font-size: 14px; color: #8a7560; }
.amaser-bk .bk-pay .bk-btn { width: auto; padding: 10px 22px; margin: 0; }
.amaser-bk .bk-row { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid #f1e9de; font-size: 14px; }
.amaser-bk .bk-row span:first-child { color: #8a7560; }
.amaser-bk .bk-details summary { cursor: pointer; color: var(--marrom); margin: 6px 0; }

@media (max-width: 560px) {
	.amaser-bk .bk-card { padding: 16px; border-radius: 14px; }
	.amaser-bk .bk-two { grid-template-columns: 1fr; gap: 0; }
	.amaser-bk .bk-steps li { font-size: 0; }
	.amaser-bk .bk-steps li.on { font-size: 11px; }
	.amaser-bk .bk-appt .bk-btn { width: 100%; }
}
.amaser-bk .bk-check { flex-wrap: wrap; }
.amaser-bk .bk-check span { flex: 1; }
.amaser-bk .bk-check.bad::after { flex-basis: 100%; padding-left: 28px; }
.amaser-bk .bk-ok { color:#1e6b35; background:#e6f4ea; border-radius:10px; padding:10px 12px; }

/* 1.4 — tipo de atendimento, acesso e pagamento */
.amaser-bk .bk-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 6px; }
.amaser-bk .bk-type { position: relative; text-align: left; background: var(--creme); border: 1px solid var(--linha); border-radius: 16px; padding: 18px; cursor: pointer; display: flex; flex-direction: column; gap: 4px; color: var(--cafe); transition: transform .1s, box-shadow .1s, border-color .1s; }
.amaser-bk .bk-type:hover { border-color: var(--ouro); box-shadow: 0 4px 14px rgba(201,164,92,.25); transform: translateY(-1px); }
.amaser-bk .bk-type strong { font-size: 18px; }
.amaser-bk .bk-type span { font-size: 14px; color: #8a7560; }
.amaser-bk .bk-type em { font-style: normal; font-size: 22px; font-weight: 700; color: var(--cafe); margin-top: 6px; }
.amaser-bk .bk-type small { font-size: 13px; color: #2e7d4f; font-weight: 600; }
.amaser-bk .bk-type-plan { background: linear-gradient(160deg, #fffaf0, #f7ead2); border-color: var(--ouro); }
.amaser-bk .bk-ribbon { position: absolute; top: -10px; right: 14px; background: var(--cafe); color: var(--ouro2); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.amaser-bk .bk-account { background: var(--creme); border: 1px dashed var(--ouro); border-radius: 12px; padding: 12px 14px; margin: 10px 0; }
.amaser-bk .bk-account .bk-field { margin-bottom: 0; }
.amaser-bk .bk-ok { color: #2e7d4f; background: #e9f6ee; border-radius: 10px; padding: 10px 12px; }
.amaser-bk .bk-paybox { border: 1px solid var(--ouro); background: #fffaf0; border-radius: 16px; padding: 16px; margin: 16px 0; text-align: center; }
.amaser-bk .bk-paybox h3 { color: var(--cafe); margin: 0 0 4px; font-size: 18px; }
.amaser-bk .bk-paybox .bk-pay-opts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 8px 0; }
.amaser-bk .bk-paybox .bk-pay-opts .bk-btn { margin: 0; width: auto; padding: 12px 22px; }
.amaser-bk .bk-qr { width: 220px; max-width: 70%; margin: 10px auto; display: block; background: #fff; padding: 8px; border-radius: 12px; border: 1px solid var(--linha); }
.amaser-bk .bk-qr svg { width: 100%; height: auto; display: block; }
.amaser-bk .bk-copy { width: 100%; font-family: ui-monospace, monospace; font-size: 12px; border: 1px solid var(--linha); border-radius: 10px; padding: 8px; resize: none; word-break: break-all; }
.amaser-bk .bk-paid .bk-check-big { margin: 0 auto 6px; }

/* Blindagem contra estilos de botão do tema do site */
.amaser-bk button.bk-btn, .amaser-bk a.bk-btn { background: var(--cafe) !important; color: #fff !important; border: 0 !important; box-shadow: none; text-transform: none; letter-spacing: normal; line-height: 1.3; }
.amaser-bk button.bk-btn:hover, .amaser-bk a.bk-btn:hover, .amaser-bk button.bk-btn:focus { background: var(--marrom) !important; color: #fff !important; }
.amaser-bk button.bk-btn-gold, .amaser-bk a.bk-btn-gold { background: var(--ouro) !important; color: #2a1a10 !important; }
.amaser-bk button.bk-btn-gold:hover, .amaser-bk a.bk-btn-gold:hover, .amaser-bk button.bk-btn-gold:focus { background: var(--ouro2) !important; color: #2a1a10 !important; }
.amaser-bk button.bk-btn-light, .amaser-bk a.bk-btn-light { background: #fff !important; color: var(--cafe) !important; border: 1px solid #c8b69f !important; }
.amaser-bk button.bk-back, .amaser-bk button.bk-back:hover, .amaser-bk button.bk-back:focus { background: none !important; color: var(--marrom) !important; border: 0 !important; padding: 6px 0 !important; box-shadow: none !important; text-decoration: none; }
.amaser-bk button.bk-type, .amaser-bk button.bk-type:hover, .amaser-bk button.bk-type:focus, .amaser-bk button.bk-opt, .amaser-bk button.bk-prof, .amaser-bk button.bk-prof:hover, .amaser-bk button.bk-prof:focus { color: var(--cafe) !important; text-transform: none; letter-spacing: normal; }
.amaser-bk button.bk-type { background: var(--creme) !important; }
.amaser-bk button.bk-type-plan { background: linear-gradient(160deg, #fffaf0, #f7ead2) !important; }
.amaser-bk .bk-type strong, .amaser-bk .bk-type em { color: var(--cafe) !important; }
.amaser-bk button.bk-day:not(.on), .amaser-bk button.bk-day:not(.on):hover { background: #fff !important; color: var(--cafe) !important; }
.amaser-bk button.bk-day.on { background: var(--cafe) !important; color: #fff !important; }
.amaser-bk button.bk-slot, .amaser-bk button.bk-slot:focus { background: #fffaf0 !important; color: var(--cafe) !important; border: 1px solid var(--ouro) !important; }
.amaser-bk button.bk-slot:hover { background: var(--ouro2) !important; }
