.db-booking-app {
	max-width: 900px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #1a1a2e;
}

.db-steps { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.db-step { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 20px; background: #f2f2f5; color: #888; font-weight: 600; font-size: 14px; }
.db-step.active, .db-step.done { background: #e6f6f0; color: #0e8a5f; }
.db-step-num { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; font-size: 11px; }
.db-step-line { width: 40px; height: 1px; background: #ddd; }

.db-title { text-align: center; font-size: 32px; font-weight: 800; margin: 0 0 24px; }

.db-panel { background: #fff; border: 1px solid #eaeaea; border-radius: 16px; padding: 28px; box-shadow: 0 1px 3px rgba(0,0,0,0.03); }
.db-loading, .db-error { text-align: center; padding: 20px; }
.db-error { color: #cf222e; background: #fff3f3; border-radius: 8px; }

/* Patient type / pricing cards */
.db-type-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 28px; }
@media (max-width: 600px) { .db-type-row { grid-template-columns: 1fr; } }
.db-type-card { position: relative; border-radius: 16px; padding: 26px 24px; cursor: pointer; overflow: hidden; transition: transform .12s ease, box-shadow .12s ease; }
.db-type-card:hover { transform: translateY(-2px); }
.db-type-card--light { background: #fff; border: 1px solid #e6e6e6; border-top: 4px solid #0e8a5f; color: #14213d; }
.db-type-card--light.selected { border-color: #0e8a5f; box-shadow: 0 0 0 2px rgba(14,138,95,0.25); }
.db-type-card--dark { background: #11182b; color: #fff; border: 1px solid #11182b; }
.db-type-card--dark.selected { box-shadow: 0 0 0 2px rgba(255,255,255,0.35); }
.db-ribbon { position: absolute; top: 14px; right: -38px; width: 150px; transform: rotate(45deg); background: #f5a623; color: #1a1a2e; text-align: center; font-size: 11px; font-weight: 800; letter-spacing: .04em; padding: 4px 0; }
.db-type-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .05em; margin-bottom: 6px; color: #0e8a5f; }
.db-type-card--dark .db-type-eyebrow { color: #7fd4b0; }
.db-type-name { font-size: 22px; font-weight: 800; margin-bottom: 14px; }
.db-type-price-row { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.db-type-price { font-size: 34px; font-weight: 800; }
.db-type-per { font-size: 14px; opacity: .7; }
.db-price-sub { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.db-type-strike { text-decoration: line-through; opacity: .55; font-size: 14px; }
.db-save-badge { display: inline-block; background: #e6f6f0; color: #0e8a5f; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.db-type-card--dark .db-save-badge { background: rgba(255,255,255,0.14); color: #fff; }
.db-feature-list { list-style: none; margin: 0 0 22px; padding: 0; }
.db-feature-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.4; margin-bottom: 10px; }
.db-check { color: #0e8a5f; font-weight: 800; flex-shrink: 0; }
.db-type-card--dark .db-check { color: #7fd4b0; }
.db-type-cta { text-align: center; font-weight: 700; font-size: 14px; padding: 12px; border-radius: 10px; pointer-events: none; }
.db-type-card--light .db-type-cta { background: #eaf6f0; color: #0e8a5f; }
.db-type-card--light.selected .db-type-cta { background: #0e8a5f; color: #fff; }
.db-type-card--dark .db-type-cta { background: #fff; color: #11182b; }
.db-type-card--dark.selected .db-type-cta { background: #f5a623; color: #1a1a2e; }

/* Calendar */
.db-calendar-box { border: 1px solid #eaeaea; border-radius: 12px; padding: 20px; }
.db-cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; font-weight: 700; font-size: 18px; }
.db-cal-nav { width: 32px; height: 32px; border: 1px solid #ddd; border-radius: 8px; background: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.db-cal-nav:disabled { opacity: .4; cursor: not-allowed; }
.db-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.db-cal-dow { color: #999; font-weight: 700; font-size: 13px; padding: 6px 0; }
.db-cal-day { padding: 10px 0; border-radius: 8px; cursor: pointer; font-weight: 600; color: #333; }
.db-cal-day.empty { cursor: default; }
.db-cal-day.disabled { color: #ccc; cursor: not-allowed; }
.db-cal-day.available:hover { background: #f2f2f5; }
.db-cal-day.selected { background: #0e8a5f; color: #fff; }

.db-slots-title { font-weight: 700; margin: 24px 0 12px; }
.db-slots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
@media (max-width: 600px) { .db-slots-grid { grid-template-columns: repeat(2, 1fr); } }
.db-slot-btn { border: 1px solid #ddd; border-radius: 10px; padding: 12px; background: #fff; cursor: pointer; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 6px; }
.db-slot-btn:hover { border-color: #0e8a5f; }
.db-slot-btn.selected { border-color: #0e8a5f; background: #0e8a5f; color: #fff; }

.db-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; border-top: 1px solid #f0f0f0; padding-top: 20px; }
.db-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 26px; border-radius: 10px; font-weight: 700; font-size: 15px; cursor: pointer; border: none; }
.db-btn-primary { background: #0e8a5f; color: #fff; }
.db-btn-primary:disabled { background: #9cc8b8; cursor: not-allowed; }
.db-btn-secondary { background: #fff; border: 1px solid #ddd; color: #333; }
.db-btn-link { background: none; border: none; color: #666; text-decoration: underline; cursor: pointer; }

/* Details form */
.db-form-group { margin-bottom: 18px; }
.db-form-group label { display: block; font-weight: 700; margin-bottom: 8px; }
.db-form-group input { width: 100%; padding: 12px 14px; border: 1px solid #ddd; border-radius: 10px; font-size: 15px; box-sizing: border-box; }
.db-form-group input:focus { outline: none; border-color: #0e8a5f; }
.db-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .db-form-row { grid-template-columns: 1fr; } }
.db-otp-input { letter-spacing: 6px; font-size: 20px; font-weight: 700; text-align: center; }
.db-form-note { color: #666; font-size: 14px; margin-bottom: 20px; }
.db-change-link { float: right; color: #0e8a5f; font-weight: 600; text-decoration: underline; cursor: pointer; font-size: 14px; }

/* Payment summary */
.db-pay-box { text-align: center; }
.db-pay-amount { display: inline-block; background: #0e8a5f; color: #fff; font-size: 26px; font-weight: 800; padding: 14px 30px; border-radius: 12px; margin: 16px 0; }
.db-summary { background: #f8f8f8; border-radius: 10px; padding: 18px 20px; text-align: left; margin: 20px 0; }
.db-summary-row { display: flex; justify-content: space-between; padding: 6px 0; }
.db-summary-row .label { color: #777; }
.db-summary-row .value { font-weight: 700; }
.db-pay-btn { width: 100%; justify-content: center; background: #0e8a5f; padding: 16px; font-size: 16px; }
.db-success-box { text-align: center; padding: 20px; }
.db-success-icon { font-size: 48px; margin-bottom: 12px; }
