/* ==========================================================================
   KD Booking Widget — Styles
   ========================================================================== */

/* ---------- Design tokens ---------- */
.kd-booking {
    --kdb-primary: var(--kd-primary, #005c9f);
    --kdb-primary-hover: var(--kd-primary-hover, #004a80);
}

:root {
    --kdb-accent: #FF8F00;
    --kdb-bg: #F5F5F5;
    --kdb-card: #FFFFFF;
    --kdb-text: #212121;
    --kdb-text-sec: #757575;
    --kdb-border: #E0E0E0;
    --kdb-success: #4CAF50;
    --kdb-error: #F44336;
    --kdb-warning: #FF9800;
    --kdb-radius-card: 8px;
    --kdb-radius-btn: 6px;
    --kdb-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --kdb-shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.12);
    --kdb-transition: 0.2s ease;
}

/* ---------- Main container ---------- */
.kd-booking {
    max-width: 600px;
    margin: 0 auto;
    font-family: inherit;
    color: var(--kdb-text);
    position: relative;
}

.kd-booking *,
.kd-booking *::before,
.kd-booking *::after {
    box-sizing: border-box;
}

/* ---------- Step ---------- */
.kd-booking__step {
    background: var(--kdb-card);
    border-radius: var(--kdb-radius-card);
    box-shadow: var(--kdb-shadow);
    padding: 24px;
    margin-bottom: 16px;
}

.kd-booking__title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 20px 0;
    color: var(--kdb-text);
}

/* ---------- Service cards ---------- */
.kd-booking__services {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.kd-booking__service-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 2px solid var(--kdb-border);
    border-radius: var(--kdb-radius-card);
    cursor: pointer;
    transition: border-color var(--kdb-transition), box-shadow var(--kdb-transition);
    background: var(--kdb-card);
}

.kd-booking__service-card:hover {
    border-color: var(--kdb-primary);
    box-shadow: var(--kdb-shadow-hover);
}

.kd-booking__service-card.is-selected {
    border-color: var(--kdb-primary);
    background: rgba(0, 92, 159, 0.04);
}

.kd-booking__service-img {
    width: 64px;
    height: 64px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--kdb-bg);
}

.kd-booking__service-info {
    flex: 1;
    min-width: 0;
}

.kd-booking__service-name {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: var(--kdb-text);
}

.kd-booking__service-category {
    font-size: 13px;
    color: var(--kdb-text-sec);
    margin: 0 0 4px 0;
}

.kd-booking__service-price {
    font-size: 15px;
    font-weight: 600;
    color: var(--kdb-primary);
}

/* ---------- Calendar ---------- */
.kd-booking__calendar {
    user-select: none;
}

.kd-booking__cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.kd-booking__cal-title {
    font-size: 16px;
    font-weight: 600;
    text-transform: capitalize;
}

.kd-booking__cal-nav {
    display: flex;
    align-items: center;
    gap: 0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: var(--kdb-radius-btn);
    font-size: 18px;
    color: var(--kdb-text);
    transition: background var(--kdb-transition);
}

.kd-booking__cal-nav:hover {
    background: var(--kdb-bg);
}

.kd-booking__cal-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.kd-booking__cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.kd-booking__cal-dow {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--kdb-text-sec);
    padding: 4px 0 8px;
    text-transform: uppercase;
}

.kd-booking__cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border-radius: 50%;
    cursor: pointer;
    transition: background var(--kdb-transition), color var(--kdb-transition);
    border: none;
    background: none;
    padding: 0;
    color: var(--kdb-text);
}

.kd-booking__cal-day:hover:not(.is-disabled):not(.is-blocked):not(.is-empty):not(.is-selected) {
    background: rgba(0, 92, 159, 0.1);
}

.kd-booking__cal-day.is-today {
    font-weight: 700;
    color: var(--kdb-primary);
}

.kd-booking__cal-day.is-selected {
    background: var(--kdb-primary);
    color: #fff;
    font-weight: 600;
}

.kd-booking__cal-day.is-disabled {
    color: var(--kdb-border);
    cursor: not-allowed;
}

.kd-booking__cal-day.is-blocked {
    color: #ef4444;
    cursor: not-allowed;
    position: relative;
}
.kd-booking__cal-day.is-blocked::after {
    content: '';
    position: absolute;
    top: 50%; left: 20%; right: 20%;
    height: 2px;
    background: #ef4444;
    border-radius: 1px;
    transform: rotate(-12deg);
    opacity: 0.6;
}

.kd-booking__cal-day.is-empty {
    cursor: default;
}

/* ---------- Time slots ---------- */
.kd-booking__slots {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 320px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}
.kd-booking__slots::-webkit-scrollbar { width: 4px; }
.kd-booking__slots::-webkit-scrollbar-track { background: transparent; }
.kd-booking__slots::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
.kd-booking__slots { overscroll-behavior: contain; }

.kd-booking__slot {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    background: #f8fafc;
    color: var(--kdb-text);
    text-align: left;
    gap: 10px;
}

/* Status dot */
.kd-booking__slot::before {
    content: '';
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
}

.kd-booking__slot-time {
    font-size: 14px;
    font-weight: 600;
    flex: 1;
    white-space: nowrap;
}

.kd-booking__slot-status {
    font-size: 11px;
    font-weight: 500;
    color: #94a3b8;
}

.kd-booking__slot-status--free { color: #22c55e; }
.kd-booking__slot-status--busy { color: #ef4444; }
.kd-booking__slot-status--past { color: #d1d5db; }
.kd-booking__slot-status--limited { color: #f59e0b; }

/* Hover */
.kd-booking__slot:hover:not(.is-blocked):not(.is-past):not([disabled]):not(.is-selected) {
    background: #eff6ff;
}

/* Selected */
.kd-booking__slot.is-selected {
    background: var(--kdb-primary);
    color: #fff;
}
.kd-booking__slot.is-selected::before { background: #fff; }
.kd-booking__slot.is-selected .kd-booking__slot-status { color: rgba(255,255,255,0.7); }

/* Blocked */
.kd-booking__slot.is-blocked,
.kd-booking__slot[disabled] {
    background: #f9fafb;
    cursor: not-allowed;
}
.kd-booking__slot.is-blocked::before,
.kd-booking__slot[disabled]::before { background: #ef4444; }

/* Past */
.kd-booking__slot.is-past {
    background: transparent;
    color: #d1d5db;
    cursor: not-allowed;
}
.kd-booking__slot.is-past::before { background: #e5e7eb; }
.kd-booking__slot.is-past .kd-booking__slot-time { color: #d1d5db; }

.kd-booking__slots-empty {
    text-align: center;
    padding: 24px;
    color: var(--kdb-text-sec);
    font-size: 14px;
}

/* ---------- Tour dates ---------- */
.kd-booking__tours {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 320px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}
.kd-booking__tours::-webkit-scrollbar { width: 4px; }
.kd-booking__tours::-webkit-scrollbar-track { background: transparent; }
.kd-booking__tours::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }

.kd-booking__tour-card {
    padding: 14px 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.15s ease;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.kd-booking__tour-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: #22c55e;
    border-radius: 4px 0 0 4px;
}

.kd-booking__tour-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.kd-booking__tour-dates {
    font-weight: 600;
    font-size: 14px;
    color: var(--kdb-text);
}

.kd-booking__tour-price {
    font-weight: 700;
    font-size: 15px;
    color: var(--kdb-text);
}

.kd-booking__tour-bottom {
    display: flex;
    align-items: center;
}

.kd-booking__tour-status {
    font-size: 12px;
    font-weight: 500;
}

.kd-booking__tour-status--free { color: #22c55e; }
.kd-booking__tour-status--few { color: #f59e0b; }
.kd-booking__tour-status--full { color: #ef4444; }
.kd-booking__tour-status--past { color: #9ca3af; }

.kd-booking__tour-card:hover:not(.is-blocked):not(.is-selected) {
    background: #eff6ff;
}
.kd-booking__tour-card:hover:not(.is-blocked):not(.is-selected)::before {
    background: var(--kdb-primary);
}

.kd-booking__tour-card.is-selected {
    background: var(--kdb-primary);
    color: #fff;
}
.kd-booking__tour-card.is-selected::before { display: none; }
.kd-booking__tour-card.is-selected .kd-booking__tour-dates,
.kd-booking__tour-card.is-selected .kd-booking__tour-price { color: #fff; }
.kd-booking__tour-card.is-selected .kd-booking__tour-status { color: rgba(255,255,255,0.7); }

.kd-booking__tour-card.is-blocked {
    background: #f9fafb;
    cursor: not-allowed;
}
.kd-booking__tour-card.is-blocked::before { background: #e5e7eb; }
.kd-booking__tour-card.is-blocked .kd-booking__tour-dates { color: #d1d5db; }

/* ---------- Guest counter ---------- */
.kd-booking__guests,
.kd-booking__hours {
    margin-bottom: 20px;
}

.kd-booking__guest-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.kd-booking__guest-row + .kd-booking__guest-row {
    border-top: 1px solid #f1f5f9;
}

.kd-booking__counter {
    display: flex;
    align-items: center;
    gap: 6px;
}

.kd-booking__counter-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: #f1f5f9;
    color: #475569;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
    line-height: 1;
    padding: 0;
    border-radius: 50%;
}

.kd-booking__counter-btn--minus {
    border-radius: 50%;
}

.kd-booking__counter-btn--plus {
    border-radius: 50%;
}

.kd-booking__counter-btn:hover {
    background: var(--kdb-primary);
    color: #fff;
}

.kd-booking__counter-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}
.kd-booking__counter-btn:disabled:hover {
    background: #f1f5f9;
    color: #475569;
}

.kd-booking__counter-value {
    width: 40px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--kdb-text);
}

/* ---------- Price display ---------- */
/* ---------- Summary ---------- */
.kd-booking__summary-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 14px;
}
.kd-booking__summary-label { color: #64748b; }
.kd-booking__summary-value { font-weight: 500; color: var(--kdb-text); }

.kd-booking__summary-price {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
}

.kd-booking__contact-price {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
}
.kd-booking__contact-price .kd-booking__price-row { padding: 3px 0; }
.kd-booking__contact-price .kd-booking__price-row--prepaid { margin-top: 4px; padding-top: 4px; }

.kd-booking__mode-notice {
    display: flex; align-items: center; gap: 6px;
    font-size: 12px; padding: 8px 0 0; margin-top: 8px;
}
.kd-booking__mode-notice--instant { color: #16a34a; }
.kd-booking__mode-notice--manual { color: #d97706; }
.kd-booking__mode-notice svg { flex-shrink: 0; }

/* ---------- Price ---------- */
.kd-booking__price-display {
    padding: 12px 0 0;
    margin-top: 8px;
    border-top: 1px solid #e2e8f0;
}

.kd-booking__price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 4px 0;
}

.kd-booking__price-label {
    font-size: 13px;
    color: #64748b;
}

.kd-booking__price-total {
    font-size: 20px;
    font-weight: 700;
    color: var(--kdb-text);
}

/* Instructor: format segment control */
.kd-instructor-format {
    display: flex;
    background: #f1f5f9;
    border-radius: 10px;
    padding: 3px;
    margin-bottom: 16px;
}
.kd-format-btn {
    flex: 1; padding: 9px 0; border: none; border-radius: 8px;
    background: transparent; cursor: pointer; font-size: 13px; font-weight: 500;
    color: #64748b; transition: all 0.2s; text-align: center;
}
.kd-format-btn.active {
    background: var(--kdb-primary); color: #fff; font-weight: 600;
}

/* Instructor: who cards */
.kd-who-btn {
    display: flex; align-items: center; gap: 10px;
    width: 100%; padding: 12px 14px; border: 1.5px solid #e2e8f0;
    border-radius: 10px; background: #fff; cursor: pointer; font-size: 14px;
    text-align: left; transition: all 0.15s; color: var(--kdb-text);
}
.kd-who-btn::before {
    content: '';
    width: 18px; height: 18px; border-radius: 50%;
    border: 2px solid #cbd5e1; flex-shrink: 0;
    transition: all 0.15s;
}
.kd-who-btn.active {
    border-color: var(--kdb-primary); background: rgba(0,92,159,0.03);
}
.kd-who-btn.active::before {
    border-color: var(--kdb-primary); border-width: 5px;
}
.kd-who-btn:hover:not(.active) {
    border-color: #94a3b8;
}

.kd-booking__price-hint {
    font-size: 12px;
    color: #94a3b8;
    text-align: right;
    padding: 0 0 6px;
}

.kd-booking__price-row--prepaid {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px dashed #e2e8f0;
}

.kd-booking__price-prepaid {
    font-size: 15px;
    font-weight: 700;
    color: var(--kdb-primary);
}

.kd-booking__price-row--onsite {
    padding-bottom: 2px;
}

.kd-booking__price-row--onsite span:last-child {
    font-size: 13px;
    color: #64748b;
}

/* ---------- Contact form ---------- */
.kd-booking__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.kd-booking__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.kd-booking__field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.kd-booking__label {
    font-size: 13px;
    font-weight: 500;
    color: var(--kdb-text-sec);
}

.kd-booking__child-age {
    font-weight: 400;
    color: var(--kdb-text-sec);
    font-size: 13px;
}

.kd-booking__input {
    padding: 10px 12px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    color: var(--kdb-text);
    transition: border-color 0.15s ease;
    outline: none;
    width: 100%;
    background: #f8fafc;
}

.kd-booking__input::placeholder {
    color: #94a3b8;
}

.kd-booking__input:focus {
    border-color: var(--kdb-primary);
    background: #fff;
}

.kd-booking__input.is-invalid {
    border-color: var(--kdb-error);
}

.kd-booking__field-error {
    font-size: 12px;
    color: var(--kdb-error);
    margin-top: 2px;
}

/* ---------- Summary ---------- */
.kd-booking__summary {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.kd-booking__summary-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 8px 0;
    border-bottom: 1px solid var(--kdb-border);
    font-size: 14px;
}

.kd-booking__summary-row:last-child {
    border-bottom: none;
}

.kd-booking__summary-label {
    color: var(--kdb-text-sec);
}

.kd-booking__summary-value {
    font-weight: 600;
    text-align: right;
}

.kd-booking__summary-row--total {
    border-top: 2px solid var(--kdb-text);
    border-bottom: none;
    padding-top: 12px;
    margin-top: 4px;
}

.kd-booking__summary-row--total .kd-booking__summary-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--kdb-text);
}

.kd-booking__summary-row--total .kd-booking__summary-value {
    font-size: 20px;
    color: var(--kdb-primary);
}

/* ---------- Result ---------- */
.kd-booking__result {
    text-align: center;
    padding: 24px 0;
}

.kd-booking__result-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.kd-booking__result-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.kd-booking__result-text {
    font-size: 14px;
    color: var(--kdb-text-sec);
    margin: 0 0 8px 0;
    line-height: 1.5;
}

.kd-booking__result-code {
    display: inline-block;
    padding: 8px 20px;
    background: var(--kdb-bg);
    border-radius: var(--kdb-radius-btn);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 3px;
    margin: 12px 0;
}

.kd-booking__result--success .kd-booking__result-title {
    color: var(--kdb-success);
}

.kd-booking__result--error .kd-booking__result-title {
    color: var(--kdb-error);
}

/* ---------- Buttons ---------- */
.kd-booking__nav {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.kd-booking__btn {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
    line-height: 1.4;
}

.kd-booking__btn--next {
    flex: 1;
    background: var(--kdb-primary);
    color: #fff;
}

.kd-booking__btn--next:hover {
    background: var(--kdb-primary-hover);
    transform: translateY(-1px);
}

.kd-booking__btn--next:disabled {
    background: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
    transform: none;
}

.kd-booking__btn--back {
    background: none;
    color: #64748b;
    padding: 12px 8px;
}

.kd-booking__btn--back:hover {
    color: var(--kdb-primary);
}

.kd-booking__btn--submit {
    flex: 1;
    background: var(--kdb-primary);
    color: #fff;
    font-size: 15px;
    padding: 14px 24px;
}

.kd-booking__btn--submit:hover {
    background: var(--kdb-primary-hover);
    transform: translateY(-1px);
}

.kd-booking__btn--cancel {
    background: none;
    color: var(--kdb-error);
    border: 2px solid var(--kdb-error);
}

.kd-booking__btn--cancel:hover {
    background: var(--kdb-error);
    color: #fff;
}

/* ---------- Loader / Spinner ---------- */
.kd-booking__loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.85);
    border-radius: var(--kdb-radius-card);
    z-index: 10;
}

.kd-booking__spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--kdb-border);
    border-top-color: var(--kdb-primary);
    border-radius: 50%;
    animation: kdb-spin 0.7s linear infinite;
}

@keyframes kdb-spin {
    to { transform: rotate(360deg); }
}

/* ---------- Error message ---------- */
.kd-booking__error {
    padding: 12px 16px;
    background: #FFEBEE;
    color: var(--kdb-error);
    border-radius: var(--kdb-radius-btn);
    font-size: 14px;
    margin-bottom: 16px;
}

/* ---------- My Booking page ---------- */
.kd-my-booking {
    max-width: 600px;
    margin: 0 auto;
    font-family: inherit;
    color: var(--kdb-text);
}

.kd-my-booking *,
.kd-my-booking *::before,
.kd-my-booking *::after {
    box-sizing: border-box;
}

.kd-my-booking__loader {
    text-align: center;
    padding: 48px 0;
    color: var(--kdb-text-sec);
}

.kd-my-booking__loader .kd-booking__spinner {
    margin: 0 auto 16px;
}

.kd-my-booking__content {
    background: var(--kdb-card);
    border-radius: var(--kdb-radius-card);
    box-shadow: var(--kdb-shadow);
    padding: 24px;
}

.kd-my-booking__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--kdb-border);
}

.kd-my-booking__code {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
}

.kd-my-booking__status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.kd-my-booking__status--confirmed {
    background: #E8F5E9;
    color: var(--kdb-success);
}

.kd-my-booking__status--pending_payment {
    background: #FFF3E0;
    color: var(--kdb-warning);
}

.kd-my-booking__status--pending_confirmation {
    background: #FFF3E0;
    color: var(--kdb-warning);
}

.kd-my-booking__status--awaiting_price {
    background: #E3F2FD;
    color: #1976D2;
}

.kd-my-booking__status--cancelled {
    background: #FFEBEE;
    color: var(--kdb-error);
}

.kd-my-booking__details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.kd-my-booking__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 6px 0;
    font-size: 14px;
}

.kd-my-booking__row-label {
    color: var(--kdb-text-sec);
}

.kd-my-booking__row-value {
    font-weight: 500;
    text-align: right;
}

.kd-my-booking__actions {
    padding-top: 16px;
    border-top: 1px solid var(--kdb-border);
    display: flex;
    gap: 12px;
}

.kd-my-booking__error {
    text-align: center;
    padding: 48px 24px;
    background: var(--kdb-card);
    border-radius: var(--kdb-radius-card);
    box-shadow: var(--kdb-shadow);
}

.kd-my-booking__error-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--kdb-error);
    margin: 0 0 8px;
}

.kd-my-booking__error-text {
    color: var(--kdb-text-sec);
    font-size: 14px;
    margin: 0;
}

/* ---------- Transfer route selector ---------- */
.kd-booking__transfer-routes {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

.kd-booking__route-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border: 2px solid var(--kdb-border);
    border-radius: var(--kdb-radius-btn);
    cursor: pointer;
    transition: all var(--kdb-transition);
}

.kd-booking__route-card:hover {
    border-color: var(--kdb-primary);
}

.kd-booking__route-card.is-selected {
    border-color: var(--kdb-primary);
    background: rgba(0, 92, 159, 0.04);
}

.kd-booking__route-name {
    font-weight: 500;
}

.kd-booking__route-price {
    font-weight: 600;
    color: var(--kdb-primary);
}

/* ---------- Transfer comment ---------- */
.kd-booking__textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--kdb-border);
    border-radius: var(--kdb-radius-btn);
    font-size: 14px;
    font-family: inherit;
    color: var(--kdb-text);
    resize: vertical;
    min-height: 80px;
    outline: none;
    transition: border-color var(--kdb-transition);
}

.kd-booking__textarea:focus {
    border-color: var(--kdb-primary);
}

/* ---------- Responsive ---------- */
@media (max-width: 480px) {
    .kd-booking__step {
        padding: 16px;
    }

    .kd-booking__title {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .kd-booking__slots {
        grid-template-columns: repeat(auto-fill, minmax(75px, 1fr));
    }

    .kd-booking__service-card {
        padding: 12px;
        gap: 12px;
    }

    .kd-booking__service-img {
        width: 48px;
        height: 48px;
    }

    .kd-booking__btn {
        padding: 10px 16px;
        font-size: 14px;
    }

    .kd-booking__cal-day {
        font-size: 13px;
    }
}
