.ucc-confirmation-wrap {
    --ucc-primary: #f1592a;
    --ucc-secondary: #25aae1;
    --ucc-dark: #121c2f;
    --ucc-muted: #6b7280;
    --ucc-line: #e8ecf0;
    --ucc-success: #16a34a;
    --ucc-error: #dc2626;
    --ucc-pending: #d97706;
    max-width: 100%;
    margin: 0 auto;
    padding: 8px 16px 50px;
    font-family: inherit;
    margin-top: 0;
    padding-top: 8px;
    background-color: #edf6fa;
}

body.ucc-booking-confirmation .banner-sec.back-img {
    display: none !important;
}

body.ucc-booking-confirmation .inner-page-text {
    padding: 32px 0 48px;
    background-color: #edf6fa;
}

body.ucc-booking-confirmation .inner-page-text.extra-space-for-banner {
    padding-top: 200px;
}

@media (max-width: 991px) {
    body.ucc-booking-confirmation .inner-page-text {
        padding: 24px 0 36px;
    }

    body.ucc-booking-confirmation .inner-page-text.extra-space-for-banner {
        padding-top: 120px;
    }
}

@media (max-width: 720px) {
    body.ucc-booking-confirmation .inner-page-text {
        padding: 20px 0 32px;
    }

    body.ucc-booking-confirmation .inner-page-text.extra-space-for-banner {
        padding-top: 104px;
    }
}

/* Panel */
.ucc-confirmation-panel {
    margin-bottom: 36px;
}

/* Hero card — centered */
.ucc-confirmation-hero {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(18, 28, 47, 0.07);
    overflow: hidden;
    /* margin-top: 100px; */
}

.ucc-confirmation-hero__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 48px 36px 32px;
}

.ucc-confirmation-hero__visual {
    margin-bottom: 16px;
}

.ucc-confirmation-hero__burst {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.ucc-confirmation-hero__icon {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fff;
}

.ucc-confirmation-hero__icon--success {
    color: var(--ucc-success);
    box-shadow:
        0 0 0 8px rgba(22, 163, 74, 0.12),
        0 0 0 18px rgba(22, 163, 74, 0.06),
        0 0 0 30px rgba(22, 163, 74, 0.03);
}

.ucc-confirmation-hero__icon--error {
    color: var(--ucc-error);
    box-shadow:
        0 0 0 8px rgba(220, 38, 38, 0.12),
        0 0 0 18px rgba(220, 38, 38, 0.06),
        0 0 0 30px rgba(220, 38, 38, 0.03);
}

.ucc-confirmation-hero__icon--pending {
    color: var(--ucc-pending);
    box-shadow:
        0 0 0 8px rgba(217, 119, 6, 0.12),
        0 0 0 18px rgba(217, 119, 6, 0.06),
        0 0 0 30px rgba(217, 119, 6, 0.03);
}

.ucc-confirmation-hero__confetti {
    position: absolute;
    z-index: 3;
    width: 10px;
    height: 10px;
    border-radius: 2px;
}

.ucc-confirmation-hero__confetti--1 {
    top: 8px;
    left: 18px;
    background: #f1592a;
    transform: rotate(25deg);
}

.ucc-confirmation-hero__confetti--2 {
    top: 14px;
    right: 12px;
    width: 8px;
    height: 8px;
    background: #25aae1;
    border-radius: 50%;
}

.ucc-confirmation-hero__confetti--3 {
    bottom: 18px;
    left: 8px;
    width: 7px;
    height: 12px;
    background: #16a34a;
    transform: rotate(-15deg);
}

.ucc-confirmation-hero__confetti--4 {
    bottom: 10px;
    right: 20px;
    width: 9px;
    height: 9px;
    background: #fbbf24;
    border-radius: 50%;
}

.ucc-confirmation-hero__confetti--5 {
    top: 42px;
    right: 4px;
    width: 6px;
    height: 10px;
    background: #8b5cf6;
    transform: rotate(40deg);
}

.ucc-confirmation-hero__eyebrow {
    margin: 0 0 8px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.ucc-confirmation-hero--success .ucc-confirmation-hero__eyebrow {
    color: var(--ucc-success);
}

.ucc-confirmation-hero--error .ucc-confirmation-hero__eyebrow {
    color: var(--ucc-error);
}

.ucc-confirmation-hero--pending .ucc-confirmation-hero__eyebrow {
    color: var(--ucc-pending);
}

.ucc-confirmation-hero__title {
    margin: 0 0 12px;
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    font-weight: 800;
    line-height: 1.25;
    color: var(--ucc-dark);
    max-width: 560px;
    text-wrap: balance;
}

.ucc-confirmation-hero--success .ucc-confirmation-hero__title {
    color: var(--ucc-success);
}

.ucc-confirmation-hero--error .ucc-confirmation-hero__title {
    color: var(--ucc-error);
}

.ucc-confirmation-hero--pending .ucc-confirmation-hero__title {
    color: var(--ucc-pending);
}

.ucc-confirmation-hero__subtitle {
    margin: 0 0 20px;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--ucc-muted);
    max-width: 100%;
    text-wrap: pretty;
}
.ucc-confirmation-head-row{
    display: flex; 
    justify-content: center; 
    align-items: center; 
    width: 100%; gap: 16px;
}
.ucc-confirmation-ref-pill {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 12px;
    padding: 10px 22px;
    border-radius: 999px;
    background: rgba(37, 170, 225, 0.1);
}

.ucc-confirmation-ref-label {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ucc-muted);
}

.ucc-confirmation-ref-pill-number {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--ucc-secondary);
    letter-spacing: 0.01em;
}

/* Details row — 4 columns */
.ucc-confirmation-details {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    padding: 24px 20px 28px;
    border-top: 1px solid var(--ucc-line);
}

.ucc-confirmation-detail {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 0 12px;
    min-width: 0;
    border-right: 1px solid var(--ucc-line);
}

.ucc-confirmation-detail:last-child {
    border-right: none;
}

.ucc-confirmation-detail__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(37, 170, 225, 0.1);
    color: var(--ucc-secondary);
}

.ucc-confirmation-detail__label {
    display: block;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--ucc-muted);
}

.ucc-confirmation-detail__value {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--ucc-dark);
    line-height: 1.35;
    word-break: normal;
    overflow-wrap: break-word;
}

.ucc-confirmation-detail__sub {
    display: block;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--ucc-muted);
    line-height: 1.35;
}

/* Stepper */
.ucc-confirmation-steps {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
    display: flex;
    gap: 0;
    position: relative;
}

.ucc-confirmation-step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 8px;
    opacity: 0.55 !important;
    list-style: none !important;
}

.ucc-confirmation-step.is-current,
.ucc-confirmation-step.is-complete {
    opacity: 1 !important;
}

.ucc-confirmation-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 22px;
    left: calc(50% + 26px);
    right: calc(-50% + 26px);
    height: 2px;
    background: var(--ucc-line);
    z-index: 0;
}

.ucc-confirmation-step.is-complete:not(:last-child)::after {
    background: var(--ucc-secondary);
}

.ucc-confirmation-step__marker {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: #fff;
    color: var(--ucc-muted);
    border: 2px solid #d1d5db;
}

.ucc-confirmation-step.is-complete .ucc-confirmation-step__marker {
    background: var(--ucc-secondary);
    color: #fff;
    border-color: var(--ucc-secondary);
}

.ucc-confirmation-step.is-current .ucc-confirmation-step__marker {
    background: #fff;
    color: var(--ucc-secondary);
    border-color: var(--ucc-secondary);
}

.ucc-confirmation-step__body strong {
    display: block;
    font-size: 0.88rem;
    color: var(--ucc-dark);
    margin-bottom: 4px;
}

.ucc-confirmation-step.is-complete .ucc-confirmation-step__body strong {
    color: var(--ucc-secondary);
}

.ucc-confirmation-step p {
    margin: 0;
    font-size: 0.76rem;
    line-height: 1.45;
    color: var(--ucc-muted);
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
}

/* Button — outside wrap */
.ucc-confirmation-actions {
    display: flex;
    justify-content: center;
    max-width: 100%;
    margin: 0 auto 48px;
    padding: 0 16px;
}

.ucc-confirmation-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 220px;
    padding: 13px 28px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: opacity 0.2s !important;
}

.ucc-confirmation-btn__icon {
    display: inline-flex;
    line-height: 0;
}

.ucc-confirmation-btn--primary {
    background: var(--ucc-primary);
    color: #fff !important;
    border: 2px solid var(--ucc-primary);
}

.ucc-confirmation-btn--primary:hover {
    opacity: 0.92;
    color: #fff;
}

.ucc-confirmation-notice {
    padding: 16px;
    text-align: center;
    color: var(--ucc-muted);
}

.ucc-confirmation-notice--error {
    color: #b42318;
    background: #fef3f2;
    border: 1px solid #fecdca;
    border-radius: 8px;
    margin-bottom: 20px;
}

@media (max-width: 991px) {
    .ucc-confirmation-details {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 8px 20px 24px;
    }

    .ucc-confirmation-detail {
        display: grid;
        grid-template-columns: 40px minmax(0, 1fr);
        column-gap: 12px;
        row-gap: 2px;
        align-items: start;
        text-align: left;
        border-right: none !important;
        border-top: 1px solid var(--ucc-line);
        padding: 16px 0;
    }

    .ucc-confirmation-detail:first-child {
        border-top: none;
    }

    .ucc-confirmation-detail__icon {
        grid-column: 1;
        grid-row: 1 / -1;
        margin-top: 2px;
    }

    .ucc-confirmation-detail__label {
        grid-column: 2;
        grid-row: 1;
    }

    .ucc-confirmation-detail__value {
        grid-column: 2;
        grid-row: 2;
        font-size: 1rem;
        white-space: normal;
    }

    .ucc-confirmation-detail__sub {
        grid-column: 2;
        grid-row: 3;
        text-align: left;
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

@media (max-width: 768px) {
    .ucc-confirmation-wrap {
        margin-top: 20px;
        padding: 0 16px 40px;
    }

    .ucc-confirmation-head-row {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .ucc-confirmation-ref-pill {
        width: 100%;
        justify-content: center;
    }

    .ucc-confirmation-btn-wrap {
        width: 100%;
    }

    .ucc-confirmation-hero__head {
        padding: 36px 20px 28px;
    }

    .ucc-confirmation-hero__title {
        font-size: 1.35rem;
    }

    .ucc-confirmation-hero__subtitle {
        font-size: 0.9rem;
    }

    .ucc-confirmation-ref-pill-number {
        font-size: 1rem;
    }

    .ucc-confirmation-steps {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }

    .ucc-confirmation-step {
        display: flex;
        gap: 14px;
        text-align: left;
        padding: 0;
    }

    /* .ucc-confirmation-step:not(:last-child)::after {
        display: none;
    } */
    .ucc-confirmation-step:not(:last-child):after{
        content: '';
        position: absolute;
        top: 22px;
        left: 20px;
        right: auto;
        height: calc(-50% + 106px);
        z-index: 0;
        width: 2px;
    }
    .ucc-confirmation-step__marker {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .ucc-confirmation-step p {
        max-width: none;
        margin: 0;
    }

    .ucc-confirmation-btn {
        width: 100%;
    }
}
