/* ─── Vulkanizer Booking – Public CSS ────────────────────────────── */

.vk-booking-wrap {
    max-width: 680px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Progress bar */
.vk-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    padding: 0 8px;
}
.vk-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #aaa;
    transition: color .2s;
}
.vk-progress-step span { white-space: nowrap; }
.vk-step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #999;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: background .2s, color .2s;
}
.vk-progress-step.active .vk-step-dot  { background: #2c3e50; color: #fff; }
.vk-progress-step.completed .vk-step-dot { background: #27ae60; color: #fff; }
.vk-progress-step.active span,
.vk-progress-step.completed span { color: #2c3e50; font-weight: 600; }
.vk-progress-line {
    flex: 1;
    height: 2px;
    background: #e0e0e0;
    margin: 0 4px;
    margin-bottom: 20px;
    max-width: 60px;
    transition: background .2s;
}

/* Step titles */
.vk-step-title {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 8px;
}
.vk-step-desc {
    color: #666;
    font-size: 14px;
    margin: 0 0 20px;
}

/* ─ Step 1: Services ─ */
.vk-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 8px;
}
.vk-service-card {
    border: 2px solid #e8eaed;
    border-radius: 12px;
    padding: 20px 12px;
    cursor: pointer;
    text-align: center;
    transition: border-color .15s, box-shadow .15s, transform .1s;
    background: #fff;
}
.vk-service-card:hover {
    border-color: #2c3e50;
    box-shadow: 0 4px 12px rgba(44,62,80,.12);
    transform: translateY(-1px);
}
.vk-service-card.selected {
    border-color: #2c3e50;
    background: #f0f4f8;
    box-shadow: 0 4px 16px rgba(44,62,80,.18);
}
/* Checkmark indicator (hidden by default, shown when selected) */
.vk-service-check {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #2c3e50;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .15s;
}
.vk-service-card { position: relative; }
.vk-service-card.selected .vk-service-check { opacity: 1; }
.vk-service-icon { font-size: 28px; margin-bottom: 8px; }
.vk-service-name { font-weight: 600; font-size: 14px; color: #2c3e50; margin-bottom: 8px; line-height: 1.3; }
.vk-service-meta { display: flex; justify-content: space-between; font-size: 12px; color: #666; }
.vk-service-price { font-weight: 700; color: #27ae60; }

/* Selection summary bar */
.vk-selection-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding: 10px 14px;
    background: #eaf0fb;
    border: 1px solid #c5d4e8;
    border-radius: 8px;
    font-size: 13px;
    color: #2c3e50;
}
.vk-sel-info { display: flex; gap: 4px; flex-wrap: wrap; }
.vk-sel-price { font-weight: 700; color: #27ae60; font-size: 14px; white-space: nowrap; }

/* ─ Step 2: Date ─ */
.vk-date-wrap { margin: 12px 0; }
.vk-date-input {
    border: 2px solid #90a4b0;
    border-radius: 10px;
    padding: 13px 18px;
    font-size: 16px;
    width: 240px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    background: #fff;
    color: #2c3e50;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0,0,0,.07);
    font-family: inherit;
}
.vk-date-input:hover:not(:focus) { border-color: #607d8b; }
.vk-date-input:focus {
    border-color: #2c3e50;
    box-shadow: 0 0 0 3px rgba(44,62,80,.12);
}

/* ─ Step 3: Slots ─ */
.vk-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 8px;
    margin-bottom: 8px;
}
.vk-slot-btn {
    border: 2px solid #e8eaed;
    border-radius: 8px;
    padding: 10px 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    background: #fff;
    color: #2c3e50;
    transition: border-color .15s, background .15s;
}
.vk-slot-btn:hover:not(.vk-slot-taken):not(.selected):not(.vk-slot-selected-cont) { border-color: #2c3e50; background: #f0f4f8; }
.vk-slot-btn.selected              { border-color: #2c3e50; background: #2c3e50; color: #fff; }
.vk-slot-btn.vk-slot-selected-cont { border-color: #2c3e50; background: #4a6580; color: #fff; opacity: .85; }
.vk-slot-taken          { background: #f5f5f5; color: #bbb; cursor: not-allowed; border-color: #eee; }

/* ─ Step 4: Personal Info ─ */
.vk-form-fields { display: flex; flex-direction: column; gap: 16px; }
.vk-field { display: flex; flex-direction: column; gap: 6px; }
.vk-field label { font-weight: 600; font-size: 14px; color: #2c3e50; }
.vk-field input {
    border: 2px solid #e8eaed;
    border-radius: 8px;
    padding: 11px 14px;
    font-size: 15px;
    outline: none;
    transition: border-color .15s;
    width: 100%;
    box-sizing: border-box;
}
.vk-field input:focus { border-color: #2c3e50; }
.vk-required { color: #e74c3c; }

/* ─ Step 5: Summary ─ */
.vk-summary-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
    font-size: 14px;
}
.vk-summary-table td { padding: 10px 12px; border-bottom: 1px solid #f0f0f0; }
.vk-sum-lbl { color: #666; width: 130px; }
.vk-sum-val strong { color: #2c3e50; }
.vk-sum-price-row td { padding-top: 14px; font-size: 15px; }
.vk-sum-discount-row td { color: #e74c3c; }
.vk-sum-total-row td   { font-size: 17px; border-top: 2px solid #2c3e50; padding-top: 12px; }
.vk-total-amount { color: #27ae60; font-size: 20px; }

/* Payment options */
.vk-payment-section { margin-top: 8px; }
.vk-payment-section h4 { font-size: 15px; color: #2c3e50; margin: 0 0 12px; }
.vk-payment-option { display: block; margin-bottom: 10px; cursor: pointer; }
.vk-payment-option input[type=radio] { display: none; }
.vk-payment-card {
    display: flex;
    align-items: center;
    gap: 14px;
    border: 2px solid #e8eaed;
    border-radius: 10px;
    padding: 14px 16px;
    transition: border-color .15s, background .15s;
}
.vk-payment-option input:checked + .vk-payment-card {
    border-color: #2c3e50;
    background: #f0f4f8;
}
.vk-payment-icon { font-size: 24px; }
.vk-payment-card strong { display: block; font-size: 14px; color: #2c3e50; }
.vk-payment-card p { margin: 2px 0 0; font-size: 13px; color: #666; }
.vk-discount-highlight { color: #e74c3c; font-size: 15px; }
.vk-stripe-badge { margin-left: auto; }
.vk-stripe-badge img { height: 24px; }

/* Navigation */
.vk-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}
.vk-btn-back,
.vk-btn-next {
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .15s, transform .1s;
}
.vk-btn-back { background: #ecf0f1; color: #2c3e50; }
.vk-btn-next { background: #2c3e50; color: #fff; margin-left: auto; }
.vk-btn-next:disabled { opacity: .45; cursor: not-allowed; }
.vk-btn-next:not(:disabled):hover { opacity: .9; transform: translateY(-1px); }

/* Error / Loading */
.vk-form-error {
    background: #fdf0ef;
    border: 1px solid #f5c6c2;
    color: #c0392b;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
    font-size: 14px;
}
.vk-no-slots, .vk-loading { color: #666; padding: 20px 0; text-align: center; }
.vk-spinner {
    display: inline-block;
    width: 14px; height: 14px;
    border: 2px solid #ddd;
    border-top-color: #2c3e50;
    border-radius: 50%;
    animation: vk-spin .6s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}
@keyframes vk-spin { to { transform: rotate(360deg); } }

/* Success */
.vk-success, .vk-success-page, .vk-error-page {
    text-align: center;
    padding: 48px 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
}
.vk-success-icon {
    width: 64px; height: 64px;
    background: #27ae60;
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 30px;
    margin: 0 auto 20px;
}
.vk-success h3, .vk-success-page h3 { color: #2c3e50; font-size: 22px; margin: 0 0 12px; }
.vk-success p,  .vk-success-page p  { color: #555; font-size: 15px; }

/* Mobile */
@media (max-width: 520px) {
    .vk-services-grid  { grid-template-columns: 1fr 1fr; }
    .vk-slots-grid     { grid-template-columns: repeat(4, 1fr); }
    .vk-progress-step span { display: none; }
    .vk-progress-line  { max-width: 24px; }
}
