/* HPL Booking – nalozi, paneli, recenzije */
.hplb-auth { max-width: 520px; margin: 0 auto; }
.hplb-form { display: flex; flex-direction: column; gap: 16px; }
.hplb-row, .hplb-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.hplb-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: #12302F; }
.hplb-field input, .hplb-field textarea, .hplb-field select { font: inherit; font-weight: 400; min-height: 48px; border: 1px solid #CBD8D8; border-radius: 12px; padding: 10px 14px; background: #fff; color: #12302F; width: 100%; box-sizing: border-box; }
.hplb-field textarea { min-height: 96px; resize: vertical; }
.hplb-field input:focus, .hplb-field textarea:focus { border-color: #0E7C82; outline: 2px solid rgba(14,124,130,.25); }
.hplb-field input[type="file"] { padding: 10px; min-height: 0; }
.hplb-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #2B4446; }
.hplb-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: #0E7C82; flex-shrink: 0; }
.hplb-auth__links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 14px; margin: 0; }
.hplb-alert { padding: 12px 16px; border-radius: 12px; font-size: 15px; margin: 0 0 16px; }
.hplb-alert--ok { background: #E3F4EA; color: #145E35; }
.hplb-alert--err { background: #FDECEA; color: #8A2318; }
.hplb-muted { color: #566C6E; font-size: 14px; }

.hplb-account { display: flex; flex-direction: column; gap: 20px; }
.hplb-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.hplb-head h2 { margin: 0; }
.hplb-kicker { margin: 0; color: #0E7C82; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.hplb-tabs { display: flex; gap: 8px; flex-wrap: wrap; border-bottom: 1px solid #E1EAEA; padding-bottom: 10px; }
.hplb-tab { padding: 10px 18px; border-radius: 999px; color: #12302F; font-weight: 600; }
.hplb-tab.is-on { background: #0E7C82; color: #fff; }
.hplb-tab--out { margin-left: auto; color: #8A2318; }
.hplb-box { background: #fff; border: 1px solid #E1EAEA; border-radius: 18px; padding: 22px; box-shadow: 0 10px 30px rgba(14,60,62,.06); }
.hplb-box h3 { margin-top: 0; }
.hplb-item { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid #E1EAEA; flex-wrap: wrap; }
.hplb-item:first-of-type { border-top: 0; }
.hplb-item p { margin: 0 0 4px; }
.hplb-item__when { font-weight: 700; color: #12302F; }
.hplb-item__actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.hplb-item__actions form { margin: 0; }
.hplb-status { font-weight: 600; }
.hplb-status--paid { color: #1E8E4E; }
.hplb-status--pending { color: #B35508; }
.hplb-simple { margin: 0; padding-left: 18px; }
.hplb-inline { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.hplb-pay .hplb-price { font-size: 28px; font-weight: 800; color: #12302F; margin: 4px 0 16px; }
.hplb-photo { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.hplb-photo__img img, .hplb-photo__img .hpl-avatar { width: 110px; height: 130px; object-fit: cover; border-radius: 14px; display: flex; }
.hplb-fieldset { border: 1px solid #E1EAEA; border-radius: 14px; padding: 14px 16px; }
.hplb-fieldset legend { font-weight: 700; padding: 0 6px; }
.hplb-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }

/* Nedeljni kalendar terapeuta */
.hplb-week__bar { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.hplb-week__nav { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #CBD8D8; background: #fff; font-size: 22px; cursor: pointer; color: #12302F; }
.hplb-week__nav[disabled] { opacity: .35; cursor: default; }
.hplb-week__title { font-size: 18px; }
.hplb-week__repeat { font-size: 14px; color: #2B4446; background: #F5FAFA; border-radius: 12px; padding: 10px 14px; }
.hplb-week__scroll { overflow-x: auto; }
.hplb-week__grid { border-collapse: separate; border-spacing: 4px; width: 100%; min-width: 640px; }
.hplb-week__grid th { font-size: 13px; color: #566C6E; font-weight: 600; text-align: center; }
.hplb-week__grid thead th span { display: block; }
.hplb-week__grid thead th b { display: block; color: #12302F; font-size: 15px; }
.hplb-week__grid tbody th { text-align: right; padding-right: 6px; white-space: nowrap; }
.hplb-week__all { margin-top: 4px; border: 0; background: none; color: #0E7C82; font-size: 12px; cursor: pointer; text-decoration: underline; padding: 4px; }
.hplb-slot { width: 100%; min-width: 64px; height: 40px; border-radius: 10px; border: 1px solid #DCE5E5; background: #F4F7F7; cursor: pointer; color: #fff; font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.hplb-slot:hover:not([disabled]) { border-color: #0E7C82; }
.hplb-slot.is-on { background: #1E8E4E; border-color: #1E8E4E; }
.hplb-slot[disabled] { opacity: .35; cursor: not-allowed; }
.hplb-slot.is-booked { background: #12302F; border-color: #12302F; font-size: 11px; font-weight: 600; cursor: default; }
.hplb-week__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.hplb-week__msg { margin: 10px 0 0; font-size: 14px; }
.hplb-week__msg.is-err { color: #B35508; }
.hplb-week__msg.is-ok { color: #1E8E4E; }

/* Recenzije */
.hplb-reviews { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.hplb-review { border-bottom: 1px solid #E1EAEA; padding-bottom: 14px; }
.hplb-review p { margin: 6px 0 0; }
.hplb-stars { color: #F2A900; font-size: 18px; letter-spacing: 2px; }
.hplb-stars__off { color: #D5DDDD; }
.hplb-review-form { border-top: 1px solid #E1EAEA; padding-top: 18px; }
.hplb-rate { border: 0; padding: 0; margin: 0; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.hplb-rate legend { font-weight: 600; font-size: 14px; margin-bottom: 6px; width: 100%; }
.hplb-rate input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hplb-rate label { font-size: 32px; color: #D5DDDD; cursor: pointer; line-height: 1; padding: 2px; }
.hplb-rate input:checked ~ label, .hplb-rate label:hover, .hplb-rate label:hover ~ label { color: #F2A900; }
.hplb-rate input:focus-visible + label { outline: 3px solid #F7931E; border-radius: 6px; }

@media (max-width: 640px) {
	.hplb-row, .hplb-grid2 { grid-template-columns: 1fr; }
	.hplb-box { padding: 16px; }
	.hplb-tab--out { margin-left: 0; }
}
.hplb-week__bar { flex-wrap: wrap; }
.hplb-week__jump { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #12302F; }
.hplb-week__jump input { min-height: 44px; border: 1px solid #CBD8D8; border-radius: 12px; padding: 6px 10px; font: inherit; }
.hplb-admin-pick { background: #F5FAFA; }
.hplb-admin-pick .hplb-inline { align-items: flex-end; }
