/* ========================================
   BCPH BOOKING MANAGER
======================================== */

.bcph-booking {
    position: relative;

    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}


/* ========================================
   BCPH DESIGN SYSTEM
======================================== */

.bcph-booking {
    --bcph-primary: #090887;
    --bcph-primary-hover: #07076d;
    --bcph-secondary: #C9A227;
    --bcph-secondary-hover: #B18E20;
    --bcph-text: #333;
    --bcph-muted: #666;
    --bcph-unavailable: #ccc;
    --bcph-border: rgba(0, 0, 0, 0.1);
    --bcph-hover: #f2f2f2;
    --bcph-white: #fff;
}


.bcph-booking *,
.bcph-booking *::before,
.bcph-booking *::after {
    box-sizing: border-box;
}


/* ========================================
   BOOKING INTRO
======================================== */

.bcph-booking-intro {
    width: 100%;
    max-width: 920px;

    margin: 0 auto 30px;

    text-align: center;
}

.bcph-booking-intro h2 {
    margin: 0 0 8px;

    color: var(--bcph-text);

    font-size: 1.6rem;
    font-weight: 600;
}

.bcph-booking-intro p {
    margin: 0;

    color: var(--bcph-muted);

    font-size: 1rem;
}


/* ========================================
   DATE + TIME CONTAINER
======================================== */

.bcph-booking .date-time-container {
    position: relative;

    width: 100%;

    display: flex;

    align-items: flex-start;
    justify-content: center;

    gap: 20px;
}


/* ========================================
   TIME COLUMN
======================================== */

.bcph-booking .bcph-time-column {
    width: 450px;
    min-width: 450px;

    display: flex;
    flex-direction: column;

    gap: 25px;

    align-items: stretch;
}


/* ========================================
   TIME PICKER WRAPPER
======================================== */

.bcph-booking .bcph-time-column > .wrapper {
    height: auto;
    min-height: 0;

    flex: 0 0 auto;
}


/* ========================================
   MAIN WRAPPERS
======================================== */

.bcph-booking .wrapper {
    width: 450px;
    min-width: 450px;
    max-width: 450px;

    flex: 0 0 450px;

    background: var(--bcph-white);

    border-radius: 10px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.12);
}


/* ========================================
   CALENDAR HEADER
======================================== */

.bcph-booking .wrapper header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding: 25px 30px 10px;
}


/* ========================================
   CURRENT DATE
======================================== */

.bcph-booking .current-date {
    margin: 0;

    color: var(--bcph-text);

    font-size: 1.45rem;
    font-weight: 500;
}


/* ========================================
   NAVIGATION ICONS
======================================== */

.bcph-booking .icons {
    display: flex;
}

.bcph-booking .icons span {
    display: block;

    width: 38px;
    height: 38px;

    margin: 0 1px;

    color: #878787;

    text-align: center;
    line-height: 38px;

    font-size: 1.9rem;

    cursor: pointer;

    user-select: none;

    border-radius: 50%;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        opacity 0.2s ease;
}

.bcph-booking .icons span:last-child {
    margin-right: -10px;
}

.bcph-booking .icons span:hover {
    background: var(--bcph-hover);
}


/* ========================================
   DISABLED PREVIOUS BUTTON
======================================== */

.bcph-booking #prev.disabled {
    opacity: 0.4;

    cursor: not-allowed;

    pointer-events: none;
}


/* ========================================
   CALENDAR
======================================== */

.bcph-booking .calendar {
    width: 100%;

    padding: 20px 30px 25px;
}


/* ========================================
   CALENDAR LISTS
======================================== */

.bcph-booking .calendar ul {
    display: flex;
    flex-wrap: wrap;

    width: 100%;

    margin: 0;
    padding: 0;

    list-style: none;

    text-align: center;
}


/* ========================================
   CALENDAR DAYS
======================================== */

.bcph-booking .calendar .days {
    margin-bottom: 20px;
}


/* ========================================
   CALENDAR CELLS
======================================== */

.bcph-booking .calendar li {
    width: calc(100% / 7);

    color: var(--bcph-text);

    font-size: 1.07rem;

    list-style: none;
}


/* ========================================
   WEEK HEADERS
======================================== */

.bcph-booking .calendar .weeks li {
    font-weight: 500;

    cursor: default;
}


/* ========================================
   INDIVIDUAL DAYS
======================================== */

.bcph-booking .calendar .days li {
    position: relative;

    z-index: 1;

    margin-top: 30px;

    cursor: pointer;
}


/* ========================================
   INACTIVE DAYS
======================================== */

.bcph-booking .days li.inactive {
    color: #aaa;

    cursor: default;
}


/* ========================================
   TODAY / ACTIVE DATE
======================================== */

.bcph-booking .days li.active {
    color: var(--bcph-white);

    cursor: not-allowed;
}

.bcph-booking .days li.active::before {
    background: var(--bcph-primary);
}


/* ========================================
   DAY CIRCLE
======================================== */

.bcph-booking .days li::before {
    position: absolute;

    content: "";

    left: 50%;
    top: 50%;

    width: 40px;
    height: 40px;

    z-index: -1;

    border-radius: 50%;

    transform: translate(-50%, -50%);
}


/* ========================================
   AVAILABLE DATE HOVER
======================================== */

.bcph-booking
.days li:not(.active):not(.unavailable):not(.inactive):not(.selected):hover::before {
    background: var(--bcph-hover);
}


/* ========================================
   UNAVAILABLE DATE
======================================== */

.bcph-booking .days li.unavailable {
    color: var(--bcph-unavailable);

    cursor: not-allowed;
}

.bcph-booking .days li.unavailable:hover::before {
    background: transparent;
}


/* ========================================
   SELECTED DATE
======================================== */

.bcph-booking .days li.selected {
    color: var(--bcph-white);
}

.bcph-booking .days li.selected::before {
    background: var(--bcph-secondary);
}


/* ========================================
   TIME PICKER
======================================== */

.bcph-booking .time-slots {
    width: 100%;

    height: auto;

    padding: 10px 20px 20px;

    background: var(--bcph-white);

    border-radius: 10px;
}


/* ========================================
   TIME PICKER TITLE
======================================== */

.bcph-booking .time-slots h3 {
    margin: 20px 15px;

    color: var(--bcph-text);

    font-size: 1.2rem;
    font-weight: 500;
}


/* ========================================
   TIME SLOT GRID
======================================== */

.bcph-booking .time-slots ul {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 10px;

    width: 100%;

    margin: 0;
    padding: 0;

    list-style: none;
}


/* ========================================
   TIME SLOT
======================================== */

.bcph-booking .time-slots li {
    position: relative;

    z-index: 1;

    width: 100%;

    margin: 0;

    padding: 10px;

    color: var(--bcph-text);

    list-style: none;

    font-size: 1.1rem;

    text-align: center;

    cursor: pointer;

    white-space: nowrap;
}


/* ========================================
   TIME SLOT BORDER
======================================== */

.bcph-booking .time-slots .slots li {
    border: 1px solid var(--bcph-border);

    border-radius: 4px;
}


/* ========================================
   TIME SLOT BACKGROUND
======================================== */

.bcph-booking .slots li::before {
    position: absolute;

    content: "";

    left: 50%;
    top: 50%;

    width: 100%;
    height: 100%;

    z-index: -1;

    border-radius: 4px;

    transform: translate(-50%, -50%);

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}


/* ========================================
   TIME SLOT HOVER
======================================== */

.bcph-booking
.slots li:not(.disabled):not(.selected):hover::before {
    background: var(--bcph-hover);
}


/* ========================================
   DISABLED TIME SLOT
======================================== */

.bcph-booking .slots li.disabled {
    color: var(--bcph-unavailable);

    opacity: 0.4;

    cursor: not-allowed;

    pointer-events: none;
}


/* ========================================
   SELECTED TIME
======================================== */

.bcph-booking .slots li.selected {
    color: var(--bcph-white);
}

.bcph-booking .slots li.selected::before {
    background: var(--bcph-secondary);
}


/* ========================================
   NEXT STEP
======================================== */

.bcph-booking .bcph-booking-next-step {
    width: 450px;

    padding: 0 20px 20px;

    text-align: center;

    background: var(--bcph-white);

    border-radius: 10px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.08);
}

.bcph-booking .bcph-booking-next-step p {
    margin: 0 0 18px;

    padding-top: 20px;

    color: var(--bcph-muted);

    font-size: 0.9rem;

    line-height: 1.5;
}


/* ========================================
   PRIMARY BUTTON
======================================== */

.bcph-booking .bcph-button,
.bcph-payment-page .bcph-payment-button {
    display: inline-block;

    padding: 12px 24px;

    border: none;

    border-radius: 5px;

    background: var(--bcph-primary, #090887);

    color: var(--bcph-white, #fff);

    font-family: inherit;

    font-size: 1rem;

    font-weight: 500;

    cursor: pointer;

    transition:
        background 0.2s ease,
        opacity 0.2s ease;
}


/* ========================================
   PRIMARY BUTTON HOVER
======================================== */

.bcph-booking .bcph-button:hover:not(:disabled),
.bcph-payment-page .bcph-payment-button:hover:not(:disabled) {
    background: var(--bcph-primary-hover, #07076d);
}


/* ========================================
   DISABLED BUTTON
======================================== */

.bcph-booking .bcph-button:disabled,
.bcph-payment-page .bcph-payment-button:disabled {
    background: var(--bcph-primary, #090887);

    color: var(--bcph-white, #fff);

    opacity: 0.4;

    cursor: not-allowed;
}


/* ========================================
   RESPONSIVE - TABLET
======================================== */

@media (max-width: 950px) {

    .bcph-booking .bcph-date-time-step {
        width: 100%;
        max-width: 450px;

        margin: 0 auto;
    }

    .bcph-booking .date-time-container {
        flex-direction: column;

        align-items: center;

        width: 100%;

        margin: 0;

        transform: none;
    }

    .bcph-booking .wrapper {
        width: 450px;

        min-width: 0;
        max-width: 450px;

        flex: none;
    }

    .bcph-booking .bcph-time-column {
        width: 450px;

        min-width: 0;
        max-width: 450px;
    }

    .bcph-booking .bcph-booking-next-step {
        width: 100%;
    }

    .bcph-booking-intro {
        padding: 0 20px;
    }
}


/* ========================================
   RESPONSIVE - MOBILE
======================================== */

@media (max-width: 500px) {

    .bcph-booking .bcph-date-time-step {
        width: 100%;
        max-width: 100%;
    }

    .bcph-booking .bcph-time-column {
        width: 100%;
        max-width: 450px;
    }

    .bcph-booking .wrapper {
        width: 100%;
        max-width: 450px;
    }

    .bcph-booking .bcph-booking-next-step {
        width: 100%;
    }
}


/* ========================================
   EVENT DETAILS
======================================== */

.bcph-booking .bcph-event-details {
    position: relative;

    width: 700px;
    max-width: 100%;

    margin: 40px auto 0;
}

.bcph-event-details > #bcph-page-loader {
    position: absolute;

    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    z-index: 99999;

    display: flex;

    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.90);
}


.bcph-event-details > #bcph-page-loader[hidden] {
    display: none !important;
}


/* ========================================
   EVENT DETAILS CARD
======================================== */

.bcph-booking .bcph-event-details-card {
    width: 100%;

    padding: 35px;

    background: var(--bcph-white);

    border-radius: 10px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.12);
}


/* ========================================
   EVENT DETAILS HEADER
======================================== */

.bcph-booking .bcph-event-details-header {
    margin-bottom: 30px;

    text-align: center;
}

.bcph-booking .bcph-event-details-header h2 {
    margin: 0 0 8px;

    color: var(--bcph-text);

    font-size: 1.6rem;
    font-weight: 600;
}

.bcph-booking .bcph-event-details-header p {
    margin: 0;

    color: var(--bcph-muted);

    font-size: 0.95rem;
}


/* ========================================
   FORM SECTION
======================================== */

.bcph-booking .bcph-form-section {
    margin-bottom: 30px;

    padding-bottom: 25px;

    border-bottom: 1px solid var(--bcph-border);
}

.bcph-booking .bcph-form-section:last-of-type {
    margin-bottom: 0;

    border-bottom: none;
}

.bcph-booking .bcph-form-section h3 {
    margin: 0 0 20px;

    color: var(--bcph-primary);

    font-size: 1.15rem;
    font-weight: 600;
}


/* ========================================
   FORM FIELD
======================================== */

.bcph-booking .bcph-form-field {
    margin-bottom: 20px;
}

.bcph-booking .bcph-form-field:last-child {
    margin-bottom: 0;
}


/* ========================================
   LABEL
======================================== */

.bcph-booking .bcph-form-field label {
    display: block;

    margin-bottom: 7px;

    color: var(--bcph-text);

    font-size: 0.95rem;
    font-weight: 500;
}

.bcph-booking .bcph-form-field .required {
    color: #c0392b;
}


/* ========================================
   INPUTS
======================================== */

.bcph-booking .bcph-form-field input,
.bcph-booking .bcph-form-field textarea {
    display: block;

    width: 100%;

    padding: 12px 14px;

    border: 1px solid var(--bcph-border);

    border-radius: 5px;

    background: var(--bcph-white);

    color: var(--bcph-text);

    font-family: inherit;

    font-size: 0.95rem;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


/* ========================================
   INPUT FOCUS
======================================== */

.bcph-booking .bcph-form-field input:focus,
.bcph-booking .bcph-form-field textarea:focus {
    border-color: var(--bcph-primary);

    box-shadow:
        0 0 0 2px rgba(9, 9, 135, 0.08);
}


/* ========================================
   DATE & TIME FIELD
======================================== */

.bcph-booking
#bcph-booking-datetime {
    background: #f7f7f7;

    color: var(--bcph-primary);

    font-weight: 500;

    cursor: not-allowed;
}


/* ========================================
   TEXTAREA
======================================== */

.bcph-booking .bcph-form-field textarea {
    min-height: 120px;

    resize: vertical;
}


/* ========================================
   FIELD DESCRIPTION
======================================== */

.bcph-booking .bcph-form-field small {
    display: block;

    margin-top: 6px;

    color: var(--bcph-muted);

    font-size: 0.8rem;
}


/* ========================================
   EVENT DETAILS ACTIONS
======================================== */

.bcph-booking .bcph-event-details-actions {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-top: 30px;
}


/* ========================================
   SECONDARY BUTTON
======================================== */

.bcph-booking .bcph-button-secondary {
    background: transparent;

    border: 1px solid var(--bcph-primary);

    color: var(--bcph-primary);
}

.bcph-booking .bcph-button-secondary:hover {
    background: var(--bcph-primary);

    color: var(--bcph-white);
}


/* ========================================
   MOBILE EVENT DETAILS
======================================== */

@media (max-width: 950px) {

    .bcph-booking .bcph-event-details {
        width: 450px;
        max-width: 100%;

        padding: 0 15px;
    }

    .bcph-booking .bcph-event-details-card {
        padding: 25px;
    }

}


@media (max-width: 500px) {

    .bcph-booking .bcph-event-details {
        width: 100%;

        padding: 0 15px;
    }

    .bcph-booking .bcph-event-details-card {
        padding: 20px;
    }

    .bcph-booking .bcph-event-details-actions {
        flex-direction: column-reverse;

        align-items: stretch;
    }

    .bcph-booking .bcph-event-details-actions .bcph-button {
        width: 100%;

        text-align: center;
    }

}


/* ========================================
   DATE & TIME STEP
======================================== */

.bcph-booking .bcph-date-time-step {
    position: relative;

    width: 920px;
    max-width: 100%;

    margin: 0 auto;
}


/* ========================================
   HIDDEN ELEMENTS
======================================== */

.bcph-booking [hidden] {
    display: none !important;
}


/* ========================================
   DATE & TIME LOADER
   Covers the entire date + time container
======================================== */

.bcph-booking .date-time-container {
    position: relative;
}


/*
 * The loader is now positioned relative to
 * .date-time-container.
 *
 * This allows it to cover:
 *
 * - Calendar
 * - Calendar header
 * - Navigation buttons
 * - Time picker
 * - Time slots
 * - Continue section
 */

.bcph-booking .date-time-container > .bcph-step-loader {

    position: absolute;

    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    z-index: 9999;

    display: flex;

    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.90);

    border-radius: 10px;

}


/* ========================================
   DATE & TIME LOADER - HIDDEN
======================================== */

.bcph-booking .date-time-container
> .bcph-step-loader[hidden] {

    display: none !important;
}


/* ========================================
   EVENT DETAILS LOADER
   Covers the entire event details section
======================================== */

.bcph-booking .bcph-event-details
> .bcph-step-loader {

    position: absolute;

    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    z-index: 9999;

    display: flex;

    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.90);

    border-radius: 10px;
}


/* ========================================
   EVENT DETAILS LOADER - HIDDEN
======================================== */

.bcph-booking .bcph-event-details
> .bcph-step-loader[hidden] {

    display: none !important;
}


/* ========================================
   LOADER CONTENT
======================================== */

.bcph-booking .bcph-step-loader-content {

    position: relative;

    z-index: 10000;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 12px;

}


/* ========================================
   LOADER TEXT
======================================== */

.bcph-booking .bcph-step-loader-content p {

    margin: 0;

    color: var(--bcph-primary);

    font-size: 0.95rem;

    font-weight: 500;

}


/* ========================================
   LOADER SPINNER
======================================== */

.bcph-booking .bcph-loader-spinner {

    width: 38px;
    height: 38px;

    border: 3px solid rgba(9, 9, 135, 0.15);

    border-top-color: var(--bcph-primary);

    border-radius: 50%;

    animation: bcph-spin 0.8s linear infinite;

}


@keyframes bcph-spin {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}


/* ========================================
   STEP FADE
======================================== */

.bcph-booking .bcph-step-fade-out {
    opacity: 0;

    transition:
        opacity 0.3s ease;
}


.bcph-booking .bcph-step-fade-in {
    opacity: 1;

    transition:
        opacity 0.35s ease;
}


/* ========================================
   RESPONSIVE LOADER
======================================== */

@media (max-width: 950px) {

    .bcph-booking .date-time-container
    > .bcph-step-loader {

        border-radius: 10px;
    }

}

/* ========================================
   BOOKING CONFIRMATION
======================================== */

.bcph-booking .bcph-booking-confirmation {
    position: fixed;

    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    z-index: 99999;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 20px;
}


/* ========================================
   CONFIRMATION OVERLAY
======================================== */

.bcph-booking .bcph-confirmation-overlay {
    position: absolute;

    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    background: rgba(0, 0, 0, 0.55);

    cursor: pointer;
}


/* ========================================
   CONFIRMATION DIALOG
======================================== */

.bcph-booking .bcph-confirmation-dialog {
    position: relative;

    z-index: 2;

    width: 700px;
    max-width: 100%;

    max-height: calc(100vh - 40px);

    display: flex;

    flex-direction: column;

    background: var(--bcph-white);

    border-radius: 10px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.25);

    overflow: hidden;
}


/* ========================================
   CONFIRMATION HEADER
======================================== */

.bcph-booking .bcph-confirmation-header {
    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 22px 55px 20px;

    border-bottom: 1px solid var(--bcph-border);
}


.bcph-booking .bcph-confirmation-header h2 {
    margin: 0;

    color: var(--bcph-text);

    font-size: 1.4rem;
    font-weight: 600;

    text-align: center;
}


/* ========================================
   CONFIRMATION CLOSE BUTTON
======================================== */

.bcph-booking .bcph-confirmation-close {
    position: absolute;

    top: 50%;
    right: 20px;

    width: 36px;
    height: 36px;

    display: flex;

    align-items: center;
    justify-content: center;

    transform: translateY(-50%);

    border: none;

    background: transparent;

    color: var(--bcph-muted);

    font-family: inherit;

    font-size: 1.8rem;
    line-height: 1;

    cursor: pointer;

    border-radius: 50%;
}


.bcph-booking .bcph-confirmation-close:hover {
    background: var(--bcph-hover);

    color: var(--bcph-text);
}


/* ========================================
   CONFIRMATION CONTENT
======================================== */

.bcph-booking .bcph-confirmation-content {
    padding: 25px 30px;

    overflow-y: auto;
}


/* ========================================
   CONFIRMATION SECTION
======================================== */

.bcph-booking .bcph-confirmation-section {
    margin-bottom: 25px;

    padding-bottom: 20px;

    border-bottom: 1px solid var(--bcph-border);
}


.bcph-booking .bcph-confirmation-section:last-child {
    margin-bottom: 0;

    padding-bottom: 0;

    border-bottom: none;
}


.bcph-booking .bcph-confirmation-section h3 {
    margin: 0 0 15px;

    color: var(--bcph-primary);

    font-size: 1rem;
    font-weight: 600;
}


/* ========================================
   CONFIRMATION ROW
======================================== */

.bcph-booking .bcph-confirmation-row {
    display: grid;

    grid-template-columns: 160px 1fr;

    gap: 20px;

    margin-bottom: 12px;
}


.bcph-booking .bcph-confirmation-row:last-child {
    margin-bottom: 0;
}


.bcph-booking .bcph-confirmation-label {
    color: var(--bcph-muted);

    font-size: 0.9rem;
    font-weight: 500;
}


.bcph-booking .bcph-confirmation-value {
    color: var(--bcph-text);

    font-size: 0.95rem;
    font-weight: 400;

    word-break: break-word;
}


/* ========================================
   CONFIRMATION ADDITIONAL INFORMATION
======================================== */

.bcph-booking .bcph-confirmation-additional-info {
    padding: 15px;

    border-radius: 5px;

    background: #f7f7f7;

    color: var(--bcph-text);

    font-size: 0.9rem;

    line-height: 1.6;

    white-space: pre-wrap;

    word-break: break-word;
}


/* ========================================
   CONFIRMATION ACTIONS
======================================== */

.bcph-booking .bcph-confirmation-actions {
    display: flex;

    align-items: center;
    justify-content: flex-end;

    gap: 12px;

    padding: 20px 30px;

    border-top: 1px solid var(--bcph-border);
}


/* ========================================
   CONFIRMATION OPEN
======================================== */

body.bcph-confirmation-open {
    overflow: hidden;
}


/* ========================================
   CONFIRMATION RESPONSIVE
======================================== */

@media (max-width: 600px) {

    .bcph-booking .bcph-booking-confirmation {
        padding: 10px;
    }


    .bcph-booking .bcph-confirmation-dialog {
        max-height: calc(100vh - 20px);
    }


    .bcph-booking .bcph-confirmation-content {
        padding: 20px;
    }


    .bcph-booking .bcph-confirmation-row {
        display: block;

        margin-bottom: 16px;
    }


    .bcph-booking .bcph-confirmation-label {
        display: block;

        margin-bottom: 4px;
    }


    .bcph-booking .bcph-confirmation-actions {
        flex-direction: column-reverse;

        align-items: stretch;

        padding: 15px 20px;
    }


    .bcph-booking .bcph-confirmation-actions .bcph-button {
        width: 100%;

        text-align: center;
    }

}

/* =========================================================
   PAYMENT PAGE
   Matches BCPH Date & Time / Event Details styling
========================================================= */

.bcph-payment-page {
    width: 100%;
    max-width: 700px;

    margin: 40px auto;

    padding: 0;

    box-sizing: border-box;

    font-family: 'Poppins', sans-serif;
}


/* ========================================
   PAYMENT CARD
======================================== */

.bcph-payment-card {
    width: 100%;

    padding: 35px;

    background: var(--bcph-white, #fff);

    border-radius: 10px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.12);

    overflow: hidden;

    box-sizing: border-box;
}


/* ========================================
   PAYMENT HEADER
======================================== */

.bcph-payment-header {
    margin-bottom: 30px;

    padding: 0;

    text-align: center;
}


/* Main heading */

.bcph-payment-header h2 {
    margin: 0 0 8px;

    color: var(--bcph-text, #333);

    font-size: 1.6rem;
    font-weight: 600;
}


/* Description */

.bcph-payment-header p {
    margin: 0;

    color: var(--bcph-muted, #666);

    font-size: 0.95rem;

    line-height: 1.6;
}


/* ========================================
   PAYMENT BOOKING INFORMATION
======================================== */

.bcph-payment-booking-info {
    margin: 0;

    padding: 0 0 25px;

    border-top: none;

    border-bottom:
        1px solid var(--bcph-border, rgba(0, 0, 0, 0.1));
}


/* ========================================
   PAYMENT INFORMATION ROW
======================================== */

.bcph-payment-info-row {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 9px 0;
}


/* ========================================
   PAYMENT LABEL
======================================== */

/* ========================================
   PAYMENT VALUE TEXT
   Prevents theme/global <strong> styles
   from enlarging booking values.
======================================== */

.bcph-payment-info-row > strong {
    color: var(--bcph-text, #333);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: right;
    word-break: break-word;
}


.bcph-payment-label {
    color: var(--bcph-text, #333);

    font-size: 1rem;

    font-weight: 400;
}


/* ========================================
   PAYMENT VALUES
======================================== */

.bcph-payment-status,
.bcph-payment-booking-status {
    color: var(--bcph-text, #333);

    font-size: 1rem;

    font-weight: 600;

    text-align: right;
}


/* ========================================
   PAYMENT PLACEHOLDER
======================================== */

.bcph-payment-placeholder {
    padding: 30px 0;

    text-align: center;
}


/* ========================================
   PAYMENT DESCRIPTION
======================================== */

.bcph-payment-placeholder p {
    margin: 0 0 20px;

    color: var(--bcph-muted, #666);

    font-size: 0.95rem;

    line-height: 1.6;
}


/* ========================================
   HIDE OLD PAYMENT ICON
======================================== */

.bcph-payment-placeholder
.material-symbols-rounded {
    display: none;
}


/* ========================================
   HIDE OLD PAYMENT HEADING
======================================== */

.bcph-payment-placeholder h3 {
    display: none;
}


/* ========================================
   PAYMENT NOTICE
======================================== */

.bcph-payment-notice {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin: 0;

    padding: 15px;

    background: #f7f7f7;

    border-radius: 5px;
}


/* Notice icon */

.bcph-payment-notice
.material-symbols-rounded {
    display: inline-block;

    flex-shrink: 0;

    font-size: 20px;
}


/* Notice text */

.bcph-payment-notice p {
    margin: 0;

    color: var(--bcph-muted, #666);

    font-size: 0.8rem;

    line-height: 1.6;
}


/* ========================================
   PAYMENT PAGE MOBILE
======================================== */

@media (max-width: 600px) {

    .bcph-payment-page {
        width: 100%;

        margin: 20px auto;

        padding: 0 15px;
    }


    .bcph-payment-card {
        padding: 20px;
    }


    .bcph-payment-header {
        margin-bottom: 25px;
    }


    .bcph-payment-header h2 {
        font-size: 1.4rem;
    }


    .bcph-payment-info-row {
        align-items: flex-start;

        flex-direction: column;

        gap: 3px;
    }


    .bcph-payment-status,
    .bcph-payment-booking-status {
        text-align: left;
    }


    .bcph-payment-placeholder {
        padding: 25px 0;
    }


    .bcph-payment-notice {
        margin: 0;
    }

}

/* ========================================
   PAYMENT PAGE FADE IN
======================================== */

.bcph-chosen-package {
    margin: 0 0 20px;
    padding: 14px 16px;
    border-radius: 8px;
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    font-size: 0.95rem;
    text-align: center;
}

.bcph-package-discount {
    margin-left: 6px;
    font-weight: 600;
}

/* =========================================================
   PAYMENT SUCCESS
========================================================= */

.bcph-payment-success-card
.bcph-payment-header
.material-symbols-rounded {
    font-size: 48px;
}


.bcph-payment-success-content {
    padding-bottom: 10px;
}


.bcph-payment-success-message {
    margin: 0 35px 20px;
    padding: 18px 20px;
    background: #f7f7f7;
    border-radius: 10px;
    text-align: center;
}


.bcph-payment-success-message p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}


.bcph-payment-success-message p + p {
    margin-top: 8px;
}


.bcph-payment-success-status {
    font-weight: 600;
}


.bcph-payment-pending-status {
    font-weight: 600;
}


@media (max-width: 600px) {

    .bcph-payment-success-message {
        margin-left: 22px;
        margin-right: 22px;
    }

}

/* ========================================
   PAGE TRANSITION LOADER
   Covers the entire booking form
======================================== */

.bcph-booking > .bcph-step-loader {
    position: fixed;

    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    z-index: 99999;

    display: flex;

    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.90);
}


.bcph-booking > .bcph-step-loader[hidden] {
    display: none !important;
}

/* ========================================
   PAYMENT PAGE TRANSITION LOADER
======================================== */

.bcph-payment-page {
    position: relative;
}


.bcph-payment-page > .bcph-step-loader {
    position: fixed;

    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    z-index: 99999;

    display: flex;

    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.90);
}


.bcph-payment-page > .bcph-step-loader[hidden] {
    display: none !important;
}
