/* ── Step bar ─────────────────────────────────────────── */
.reg-step-bar {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow-x: auto;
    padding: 0 0 24px;
    margin-bottom: 32px;
    gap: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #5664d2 #f1f1f1;
}
.reg-step-bar::-webkit-scrollbar { height: 3px; }
.reg-step-bar::-webkit-scrollbar-thumb { background: #5664d2; border-radius: 2px; }

.reg-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    min-width: 84px;
    cursor: pointer;
    flex-shrink: 0;
}
/* connector line */
.reg-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 17px;
    left: calc(50% + 20px);
    width: calc(100% - 40px);
    height: 2px;
    background: #dee2e6;
    z-index: 0;
    transition: background .3s;
}
.reg-step.completed:not(:last-child)::after { background: #34c38f; }

.reg-step-circle {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    border: 2px solid #dee2e6;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700;
    z-index: 1;
    transition: background .25s, border-color .25s, color .25s;
}
.reg-step.active .reg-step-circle    { background: #5664d2; color: #fff; border-color: #5664d2; }
.reg-step.completed .reg-step-circle { background: #34c38f; color: #fff; border-color: #34c38f; }

.reg-step-label {
    font-size: 10px; color: #6c757d;
    margin-top: 6px; text-align: center;
    white-space: normal; max-width: 76px;
    line-height: 1.3;
}
.reg-step.active .reg-step-label    { color: #5664d2; font-weight: 600; }
.reg-step.completed .reg-step-label { color: #34c38f; }

/* ── Step panes ────────────────────────────────────────── */
.step-pane        { display: none; }
.step-pane.active { display: block; animation: paneIn .2s ease; }
@keyframes paneIn {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Section heading ───────────────────────────────────── */
.reg-section-title {
    font-size: 17px; font-weight: 700; color: #343a40;
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f1f5;
    display: flex; align-items: center; gap: 10px;
}
.reg-section-title .title-bar {
    display: inline-block; width: 4px; height: 20px;
    background: #5664d2; border-radius: 2px; flex-shrink: 0;
}

/* ── Form wrapper ──────────────────────────────────────── */
.multi-reg-wrapper {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 32px rgba(0,0,0,.09);
    padding: 44px 48px;
}
.multi-reg-wrapper .reg-header { text-align: center; margin-bottom: 36px; }
.multi-reg-wrapper .reg-header h2 {
    font-size: 28px; font-weight: 800; color: #1e2340; margin-bottom: 6px;
}
.multi-reg-wrapper .reg-header p { color: #6c757d; font-size: 14px; }

/* ── Field label ───────────────────────────────────────── */
.reg-label { font-size: 13px; font-weight: 600; color: #495057; margin-bottom: 5px; display: block; }
.reg-required { color: #dc3545; }

/* ── Navigation row ────────────────────────────────────── */
.reg-nav {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 32px; padding-top: 20px;
    border-top: 1px solid #f0f1f5;
}

/* ── Service checkboxes ────────────────────────────────── */
.svc-cat-block { margin-bottom: 28px; }
.svc-cat-name  { font-size: 14px; font-weight: 700; color: #5664d2; margin-bottom: 4px; }
.svc-sub-name  { font-size: 12px; font-weight: 600; color: #495057; margin: 10px 0 6px; }
.svc-check-label {
    display: inline-flex; align-items: center; gap: 7px;
    background: #f8f9fa; border: 1px solid #e2e5ed;
    border-radius: 20px; padding: 5px 14px;
    margin: 3px; cursor: pointer;
    font-size: 13px; transition: all .15s; user-select: none;
}
.svc-check-label:hover          { border-color: #5664d2; background: #eef0fb; }
.svc-check-label.checked        { border-color: #5664d2; background: #eef0fb; color: #5664d2; font-weight: 600; }
.svc-check-label input[type="checkbox"] { accent-color: #5664d2; }

/* ── Service detail card ───────────────────────────────── */
.svc-detail-card {
    background: #f9faff;
    border: 1px solid #dde2f0;
    border-left: 4px solid #5664d2;
    border-radius: 10px;
    padding: 22px 24px;
    margin-bottom: 16px;
    animation: fadeSlideIn .2s ease;
}
@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.svc-detail-card .svc-card-title {
    font-size: 14px; font-weight: 700; color: #343a40;
    margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
}
.svc-detail-card .svc-card-title i { color: #5664d2; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 768px) {
    .multi-reg-wrapper { padding: 24px 16px; }
    .reg-step { min-width: 66px; }
    .reg-step-label { font-size: 9px; max-width: 60px; }
}
