/**
 * Booking Widget Styles
 * Modern, responsive styling for the appointment booking widget
 */

/* ==========================================================================
   Booking Widget Container
   ========================================================================== */

.rv-booking-widget {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--rv-space-6) 0;
    position: relative;
    z-index: 1;
    clear: both;
    box-sizing: border-box;
}

/* Add spacing for booking section */
.rv-booking {
    width: 100%;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Progress Indicator — refined, editorial
   ========================================================================== */

.rv-booking-progress {
    --rv-progress-circle: 36px;
    --rv-progress-line: 1px;
    --rv-progress-track: rgba(15, 23, 42, 0.12);
    --rv-progress-fill: var(--rv-color-primary, #082352);

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin: 0 0 var(--rv-space-8);
    padding: 0;
    list-style: none;
    counter-reset: rv-step;
}

.rv-booking-progress__step {
    position: relative;
    margin: 0;
    padding: 0;
    counter-increment: rv-step;
    min-width: 0;
}

/* Connector line: track */
.rv-booking-progress__step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: calc(var(--rv-progress-circle) / 2 - var(--rv-progress-line) / 2);
    left: calc(50% + var(--rv-progress-circle) / 2 + 6px);
    right: calc(-50% + var(--rv-progress-circle) / 2 + 6px);
    height: var(--rv-progress-line);
    background: var(--rv-progress-track);
    z-index: 0;
}

/* Connector line: fill (animates left → right when completed) */
.rv-booking-progress__step:not(:last-child)::before {
    content: '';
    position: absolute;
    top: calc(var(--rv-progress-circle) / 2 - var(--rv-progress-line) / 2);
    left: calc(50% + var(--rv-progress-circle) / 2 + 6px);
    right: calc(-50% + var(--rv-progress-circle) / 2 + 6px);
    height: var(--rv-progress-line);
    background: var(--rv-progress-fill);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
    z-index: 1;
}

.rv-booking-progress__step--completed:not(:last-child)::before {
    transform: scaleX(1);
}

/* Reset every theme/browser button default that could bleed in (yellow!) */
.rv-booking-progress__button,
.rv-booking-progress__button:hover,
.rv-booking-progress__button:focus,
.rv-booking-progress__button:active,
.rv-booking-progress__button[disabled],
.rv-booking-progress__button:hover:not(:disabled),
.rv-booking-progress__button:focus:not(:focus-visible) {
    appearance: none;
    -webkit-appearance: none;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0;
    box-shadow: none;
    outline: 0;
    text-decoration: none;
    text-shadow: none;
    color: inherit;
    font: inherit;
    transform: none;
    filter: none;
}

.rv-booking-progress__button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 4px 0;
    cursor: pointer;
    border-radius: 4px;
    position: relative;
    z-index: 2;
}

.rv-booking-progress__button[disabled] {
    cursor: default;
}

/* Circle base — refined, no shadow by default */
.rv-booking-progress__number,
.rv-booking-progress__check {
    width: var(--rv-progress-circle);
    height: var(--rv-progress-circle);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
    line-height: 1;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

/* Inactive number: outline-only, neutral */
.rv-booking-progress__number {
    background: var(--rv-color-surface, #ffffff);
    border: 1.5px solid var(--rv-progress-track);
    color: var(--rv-color-text-secondary, #64748b);
}

/* Hidden check by default */
.rv-booking-progress__check {
    display: none;
    background: var(--rv-progress-fill);
    border: 1.5px solid var(--rv-progress-fill);
    color: #ffffff;
}

.rv-booking-progress__check svg {
    display: block;
    width: 14px;
    height: 14px;
    stroke-width: 2.25;
}

/* Label — uppercase micro-typography */
.rv-booking-progress__label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--rv-color-text-secondary, #64748b);
    text-align: center;
    line-height: 1.25;
    transition: color 0.25s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Active state: filled circle with subtle ring, primary label */
.rv-booking-progress__step--active .rv-booking-progress__number {
    background: var(--rv-progress-fill);
    border-color: var(--rv-progress-fill);
    color: #ffffff;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--rv-color-primary, #082352) 12%, transparent);
}

.rv-booking-progress__step--active .rv-booking-progress__label {
    color: var(--rv-color-text, #0f172a);
    font-weight: 600;
}

/* Completed state: filled circle with checkmark (same primary as active for consistency) */
.rv-booking-progress__step--completed .rv-booking-progress__number {
    display: none;
}

.rv-booking-progress__step--completed .rv-booking-progress__check {
    display: inline-flex;
}

.rv-booking-progress__step--completed .rv-booking-progress__label {
    color: var(--rv-color-text, #0f172a);
    font-weight: 500;
}

/* Hover only on completed (clickable) steps — only on real hover devices */
@media (hover: hover) {
    .rv-booking-progress__step--completed .rv-booking-progress__button:not([disabled]):hover .rv-booking-progress__check {
        transform: scale(1.06);
    }

    .rv-booking-progress__step--completed .rv-booking-progress__button:not([disabled]):hover .rv-booking-progress__label {
        color: var(--rv-progress-fill);
    }
}

.rv-booking-progress__button:focus-visible {
    outline: 2px solid var(--rv-progress-fill);
    outline-offset: 6px;
}

/* Subtle entrance for the active circle's pulse-ring on step change */
@media (prefers-reduced-motion: no-preference) {
    .rv-booking-progress__step--active .rv-booking-progress__number {
        animation: rvStepPop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    }
}

@keyframes rvStepPop {
    0%   { transform: scale(0.85); }
    100% { transform: scale(1); }
}

/* ==========================================================================
   Booking Steps
   ========================================================================== */

.rv-booking-step {
    background: var(--rv-color-surface, #ffffff);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 16px;
    padding: 40px 40px 32px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 8px 24px rgba(15, 23, 42, 0.04);
    position: relative;
    overflow: hidden;
}

/* Subtle top accent on the active step */
.rv-booking-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        var(--rv-color-primary, #082352) 0%,
        color-mix(in srgb, var(--rv-color-primary, #082352) 60%, transparent) 60%,
        transparent 100%);
    opacity: 0.85;
}

.rv-booking-step[hidden] {
    display: none;
}

.rv-booking-step:focus-visible {
    outline: none;
}

.rv-booking-step__title {
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.02em;
    color: var(--rv-color-text, #0f172a);
    margin: 0 0 8px;
}

.rv-booking-step__subtitle {
    font-size: 15px;
    line-height: 1.55;
    color: var(--rv-color-text-secondary, #64748b);
    margin: 0 0 var(--rv-space-6);
    max-width: 56ch;
}

.rv-booking-step__actions {
    display: flex;
    gap: var(--rv-space-3);
    justify-content: flex-end;
    margin-top: var(--rv-space-6);
    padding-top: var(--rv-space-5);
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

/* ==========================================================================
   Variant Selection
   ========================================================================== */

.rv-booking-variants {
    margin-bottom: var(--rv-space-6);
    padding: var(--rv-space-5);
    background: var(--rv-color-surface-variant);
    border: 1px solid var(--rv-color-border);
    border-radius: var(--rv-radius-lg);
}

.rv-booking-variants__header {
    margin-bottom: var(--rv-space-4);
}

.rv-booking-variants__eyebrow {
    margin: 0 0 var(--rv-space-1);
    font-size: var(--rv-font-size-sm);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--rv-color-text-secondary);
}

.rv-booking-variants__title {
    margin: 0;
    font-size: var(--rv-font-size-lg);
    font-weight: 700;
    color: var(--rv-color-text);
}

.rv-booking-variants__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--rv-space-3);
}

.rv-booking-variant {
    display: flex;
    flex-direction: column;
    gap: var(--rv-space-2);
    align-items: flex-start;
    width: 100%;
    padding: var(--rv-space-4);
    border: 2px solid var(--rv-color-border);
    border-radius: var(--rv-radius-lg);
    background: var(--rv-color-surface);
    color: var(--rv-color-text) !important;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s var(--rv-ease-out), box-shadow 0.2s var(--rv-ease-out), transform 0.2s var(--rv-ease-out);
}

@media (hover: hover) {
    .rv-booking-variant:hover {
        border-color: var(--rv-color-primary);
        box-shadow: var(--rv-shadow-sm);
        transform: translateY(-2px);
    }
}

.rv-booking-variant:focus-visible {
    outline: none;
    border-color: var(--rv-color-primary);
    box-shadow: 0 0 0 3px var(--rv-color-primary-light, rgba(79, 70, 229, 0.25));
}

.rv-booking-variant--selected {
    border-color: var(--rv-color-primary);
    background: var(--rv-color-primary-light, var(--rv-color-surface-variant));
    box-shadow: var(--rv-shadow-sm);
}

.rv-booking-variant__label {
    font-size: var(--rv-font-size-base);
    font-weight: 700;
    color: var(--rv-color-text);
}

.rv-booking-variant__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--rv-space-2);
}

.rv-booking-variant__price,
.rv-booking-variant__duration {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 var(--rv-space-3);
    border-radius: 999px;
    background: var(--rv-color-surface-variant);
    font-size: var(--rv-font-size-sm);
    font-weight: 600;
    color: var(--rv-color-text-secondary);
}

/* ==========================================================================
   Date Picker
   ========================================================================== */

.rv-date-picker {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.rv-date-picker__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--rv-space-4);
}

.rv-date-picker__month-year {
    font-size: var(--rv-font-size-lg);
    font-weight: 600;
    color: var(--rv-color-text);
}

.rv-date-picker__nav {
    background: none;
    border: none;
    padding: var(--rv-space-2);
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--rv-color-text-secondary);
    border-radius: var(--rv-radius-md);
    transition: background 0.2s var(--rv-ease-out), color 0.2s var(--rv-ease-out);
}

@media (hover: hover) {
    .rv-date-picker__nav:hover {
        background: var(--rv-color-surface-variant);
        color: var(--rv-color-primary);
    }
}

.rv-date-picker__nav:focus-visible {
    outline: 2px solid var(--rv-color-primary);
    outline-offset: 2px;
}

.rv-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    width: 100%;
}

.rv-calendar-day-header {
    text-align: center;
    padding: var(--rv-space-1);
    font-size: var(--rv-font-size-sm);
    font-weight: 600;
    color: var(--rv-color-text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.rv-calendar-day {
    aspect-ratio: 1;
    border: 1px solid var(--rv-color-border);
    background: var(--rv-color-surface);
    border-radius: var(--rv-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--rv-font-size-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s var(--rv-ease-out);
    /* Force text color to override theme buttons */
    color: var(--rv-color-text) !important;
    min-width: 0;
    padding: 0;
    width: 100%;
}

@media (hover: hover) {
    .rv-calendar-day:hover:not(.rv-calendar-day--disabled) {
        border-color: var(--rv-color-primary);
        background: var(--rv-color-primary-light, rgba(79, 70, 229, 0.1));
        transform: scale(1.05);
        color: var(--rv-color-primary) !important;
    }
}

.rv-calendar-day:focus-visible:not(.rv-calendar-day--disabled) {
    outline: 2px solid var(--rv-color-primary);
    outline-offset: 2px;
    z-index: 2;
}

.rv-calendar-day--disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: var(--rv-color-surface-variant);
    color: var(--rv-color-text-secondary) !important;
}

.rv-calendar-day--selected {
    background: var(--rv-color-primary);
    border-color: var(--rv-color-primary);
    color: white !important;
    font-weight: 700;
}

.rv-calendar-day--empty {
    border: none;
    background: transparent;
}

/* ==========================================================================
   Time Slots
   ========================================================================== */

.rv-time-slots__loading {
    text-align: center;
    padding: var(--rv-space-8) var(--rv-space-4);
}

.rv-time-slots__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: var(--rv-space-3);
    margin-top: var(--rv-space-4);
    width: 100%;
}

.rv-time-slot {
    padding: var(--rv-space-3) var(--rv-space-4);
    background: var(--rv-color-surface);
    border: 2px solid var(--rv-color-border);
    border-radius: var(--rv-radius-md);
    font-size: var(--rv-font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s var(--rv-ease-out);
    text-align: center;
    /* Force text color to override theme buttons */
    color: var(--rv-color-text) !important;
}

@media (hover: hover) {
    .rv-time-slot:hover {
        border-color: var(--rv-color-primary);
        background: var(--rv-color-primary-light, rgba(79, 70, 229, 0.1));
        transform: translateY(-2px);
        box-shadow: var(--rv-shadow-sm);
        color: var(--rv-color-primary) !important;
    }
}

.rv-time-slot:focus-visible {
    outline: 2px solid var(--rv-color-primary);
    outline-offset: 2px;
}

.rv-time-slot--selected {
    background: var(--rv-color-primary);
    border-color: var(--rv-color-primary);
    color: white !important;
}

/* ==========================================================================
   Customer Form
   ========================================================================== */

.rv-booking-form {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
}

.rv-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--rv-space-4);
    margin-bottom: var(--rv-space-4);
}

.rv-form-field {
    margin-bottom: var(--rv-space-4);
}

.rv-form-label {
    display: block;
    margin-bottom: var(--rv-space-2);
    font-size: var(--rv-font-size-sm);
    font-weight: 600;
    color: var(--rv-color-text);
}

.rv-form-label .required {
    color: var(--rv-color-error);
}

.rv-input,
.rv-textarea {
    width: 100%;
    padding: var(--rv-space-3);
    border: 2px solid var(--rv-color-border);
    border-radius: var(--rv-radius-md);
    font-size: var(--rv-font-size-base);
    font-family: inherit;
    transition: all 0.2s var(--rv-ease-out);
}

.rv-input:focus,
.rv-textarea:focus {
    outline: none;
    border-color: var(--rv-color-primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.rv-input--error {
    border-color: var(--rv-color-error);
}

.rv-form-error {
    display: block;
    margin-top: var(--rv-space-1);
    font-size: var(--rv-font-size-sm);
    color: var(--rv-color-error);
}

.rv-textarea {
    resize: vertical;
    min-height: 80px;
}

/* ==========================================================================
   Booking Summary
   ========================================================================== */

.rv-booking-summary {
    max-width: 500px;
    margin: 0 auto;
}

.rv-booking-summary__section {
    padding: var(--rv-space-4);
    background: var(--rv-color-surface-variant);
    border-radius: var(--rv-radius-md);
    margin-bottom: var(--rv-space-4);
}

.rv-booking-summary__section:last-child {
    margin-bottom: 0;
}

.rv-booking-summary__heading {
    font-size: var(--rv-font-size-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--rv-color-text-secondary);
    margin: 0 0 var(--rv-space-3);
}

.rv-booking-summary__content {
    font-size: var(--rv-font-size-base);
    color: var(--rv-color-text);
}

.rv-booking-summary__content p {
    margin: var(--rv-space-1) 0;
}

.rv-booking-summary__price {
    font-size: var(--rv-font-size-2xl);
    font-weight: 700;
    color: var(--rv-color-primary);
    margin-top: var(--rv-space-2);
}

/* ==========================================================================
   Success Message
   ========================================================================== */

.rv-booking-success {
    text-align: center;
    padding: var(--rv-space-8);
    background: var(--rv-color-surface);
    border-radius: var(--rv-radius-lg);
}

.rv-booking-success__icon {
    margin: 0 auto var(--rv-space-5);
    display: inline-block;
    animation: successPop 0.6s var(--rv-ease-bounce);
}

@keyframes successPop {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }

    60% {
        transform: scale(1.2) rotate(10deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.rv-booking-success__title {
    font-size: var(--rv-font-size-3xl);
    font-weight: 700;
    color: var(--rv-color-success);
    margin: 0 0 var(--rv-space-3);
}

.rv-booking-success__message {
    font-size: var(--rv-font-size-lg);
    color: var(--rv-color-text);
    margin: 0 0 var(--rv-space-2);
    line-height: 1.6;
}

.rv-booking-success__thank-you {
    font-size: var(--rv-font-size-base);
    color: var(--rv-color-text-secondary);
    margin: 0 0 var(--rv-space-6);
    font-style: italic;
}

.rv-booking-success__details {
    background: var(--rv-color-success-soft);
    border: 2px solid var(--rv-color-success);
    border-radius: var(--rv-radius-lg);
    padding: var(--rv-space-5);
    display: inline-block;
    text-align: left;
    max-width: 500px;
}

.rv-booking-success__details p {
    margin: var(--rv-space-2) 0;
    font-size: var(--rv-font-size-base);
}

.rv-booking-success__actions {
    margin-top: var(--rv-space-4);
    display: flex;
    justify-content: center;
}

.rv-booking-success__calendar-btn {
    min-height: 38px;
    padding-inline: var(--rv-space-4);
    border-color: var(--rv-color-border);
    color: var(--rv-color-text-secondary);
    background: transparent;
}

.rv-booking-success__calendar-btn:hover {
    border-color: var(--rv-color-primary);
    color: var(--rv-color-primary);
    background: var(--rv-color-surface-variant);
}

/* ==========================================================================
   Spinner
   ========================================================================== */

.rv-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid var(--rv-color-border);
    border-top-color: var(--rv-color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.rv-spinner--small {
    width: 20px;
    height: 20px;
    border-width: 2px;
}

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

/* ==========================================================================
   Responsive
   ========================================================================== */

/* ==========================================================================
   Responsive — Tablet
   ========================================================================== */

@media (max-width: 768px) {
    .rv-booking-widget {
        padding: var(--rv-space-5) 0;
    }

    .rv-booking-step {
        padding: 28px 24px 24px;
        width: 100%;
        box-sizing: border-box;
        border-radius: 14px;
    }

    .rv-booking-progress {
        --rv-progress-circle: 32px;
        margin-bottom: var(--rv-space-6);
    }

    .rv-booking-progress__label {
        font-size: 11px;
        letter-spacing: 0.04em;
    }

    .rv-booking-progress__number,
    .rv-booking-progress__check {
        font-size: 13px;
    }

    .rv-date-picker__month-year {
        font-size: var(--rv-font-size-base);
    }

    .rv-booking-summary {
        max-width: 100%;
    }

    .rv-booking-form {
        max-width: 100%;
    }

    /* Form: single column on tablet/mobile, vertical gap restored */
    .rv-form-row {
        grid-template-columns: 1fr;
        gap: var(--rv-space-3);
    }

    /* Time slots: fill container with 3 columns and proper touch targets */
    .rv-time-slots__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--rv-space-2);
    }

    .rv-time-slot {
        padding: var(--rv-space-3) var(--rv-space-2);
        min-height: 44px;
        font-size: var(--rv-font-size-base);
    }
}

/* ==========================================================================
   Responsive — Mobile
   ========================================================================== */

@media (max-width: 640px) {
    .rv-booking-widget {
        padding: var(--rv-space-4) 0;
    }

    .rv-booking-step {
        padding: 24px 20px 20px;
        border-radius: 12px;
    }

    /* Progress indicator: compact on mobile but readable, hide labels for non-active to save space */
    .rv-booking-progress {
        --rv-progress-circle: 30px;
        margin-bottom: var(--rv-space-5);
    }

    .rv-booking-progress__button {
        gap: 6px;
    }

    .rv-booking-progress__label {
        font-size: 10px;
        letter-spacing: 0.05em;
    }

    /* On phone: only show label for the active and completed steps */
    .rv-booking-progress__step:not(.rv-booking-progress__step--active):not(.rv-booking-progress__step--completed) .rv-booking-progress__label {
        opacity: 0;
    }

    .rv-booking-progress__number,
    .rv-booking-progress__check {
        font-size: 12px;
    }

    .rv-booking-progress__check svg {
        width: 12px;
        height: 12px;
    }

    .rv-booking-progress__step--active .rv-booking-progress__number {
        box-shadow: 0 0 0 3px color-mix(in srgb, var(--rv-color-primary, #082352) 12%, transparent);
    }

    /* Calendar: ensure it fills the step container */
    .rv-date-picker {
        width: 100%;
        max-width: 100%;
    }

    .rv-calendar-grid {
        gap: 4px;
    }

    .rv-calendar-day-header {
        font-size: 12px;
        padding: 4px 0;
    }

    /* Touch-friendly day cells: min 44px, drop forced 1:1 ratio */
    .rv-calendar-day {
        font-size: 14px;
        border-radius: 6px;
        aspect-ratio: auto;
        min-height: 44px;
    }

    /* Time slots: 3 columns on phone too */
    .rv-time-slots__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--rv-space-2);
    }

    .rv-time-slot {
        padding: var(--rv-space-3) var(--rv-space-1);
        min-height: 48px;
        font-size: var(--rv-font-size-sm);
    }

    /* Actions: stack vertically with full-width buttons */
    .rv-booking-step__actions {
        flex-direction: column-reverse;
        gap: var(--rv-space-2);
    }

    .rv-booking-step__actions .rv-btn {
        width: 100%;
        justify-content: center;
        min-height: 48px;
    }

    /* Success screen */
    .rv-booking-success {
        padding: var(--rv-space-5) var(--rv-space-3);
    }

    .rv-booking-success__details {
        max-width: 100%;
        width: 100%;
    }

    .rv-booking-summary__section {
        padding: var(--rv-space-3);
    }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .rv-booking-widget *,
    .rv-booking-widget *::before,
    .rv-booking-widget *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .rv-booking-variant:hover,
    .rv-time-slot:hover {
        transform: none;
    }

    .rv-calendar-day:hover:not(.rv-calendar-day--disabled) {
        transform: none;
    }

    .rv-booking-success__icon {
        animation: none;
    }
}
