/**
 * Luxury Day Booking - Public Booking Form Styles
 * Flex-based container system for proper alignment
 */

/* Base Container - Flex Column */
.ld-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Flex Row Container */
.ld-container-row {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
}

/* Flex Column Container */
.ld-container-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Flex Wrap Container */
.ld-container-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Main Container with Padding */
.container-wrap-main {
    padding-top: calc(10vw) !important;
}

/* Grid Container */
.ld-container-grid {
    display: grid;
    gap: 1rem;
}

/* Alignment Utilities */
.ld-align-start {
    align-items: flex-start;
}

.ld-align-center {
    align-items: center;
}

.ld-align-end {
    align-items: flex-end;
}

.ld-align-stretch {
    align-items: stretch;
}

/* Justify Content Utilities */
.ld-justify-start {
    justify-content: flex-start;
}

.ld-justify-center {
    justify-content: center;
}

.ld-justify-end {
    justify-content: flex-end;
}

.ld-justify-between {
    justify-content: space-between;
}

.ld-justify-around {
    justify-content: space-around;
}

.ld-justify-evenly {
    justify-content: space-evenly;
}

/* Gap Utilities */
.ld-gap-xs {
    gap: 0.25rem;
}

.ld-gap-sm {
    gap: 0.5rem;
}

.ld-gap-md {
    gap: 1rem;
}

.ld-gap-lg {
    gap: 1.5rem;
}

.ld-gap-xl {
    gap: 2rem;
}

/* Flex Grow/Shrink */
.ld-flex-1 {
    flex: 1;
}

.ld-flex-grow {
    flex-grow: 1;
}

.ld-flex-shrink {
    flex-shrink: 1;
}

.ld-flex-none {
    flex: none;
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .ld-container-row:not(#ld-progress-container) {
        flex-direction: column;
    }
    
    .ld-container-wrap {
        justify-content: space-between;
    }
    
    /* Calendar and Timeslots - Full width and stacked on mobile */
    .ld-calendar,
    .ld-timeslots-section {
        flex: 1 1 100% !important;
        width: 100%;
    }
}

/* Progress Bar Styles */
#ld-progress-container {
    flex-wrap: nowrap;
    overflow: hidden;
    position: relative;
    margin-bottom: 35px !important;
    border-bottom: 3px solid #e0e0e0;
    padding-bottom: 1rem;
}

.ld-progress-step {
    position: relative;
    text-align: center;
    flex: 0 0 auto;
    white-space: nowrap;
    min-width: 0;
}

/* Compact view for smaller screens - space between */
#ld-progress-container.ld-compact-mode {
    justify-content: space-between;
}

/* Compact view for smaller screens */
.ld-progress-step.ld-compact-view {
    flex: 0 0 auto;
}

/* Progress step wrappers for compact mode */
.ld-progress-step-wrapper {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.ld-progress-step-wrapper-left {
    justify-content: flex-start;
}

.ld-progress-step-wrapper-right {
    justify-content: flex-end;
}

/* Progress arrows */
.ld-progress-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #0d4554;
    font-weight: bold;
    padding: 0 0.5rem;
    flex-shrink: 0;
    opacity: 0.6;
    line-height: 1;
    margin-bottom: 10px;
}

.ld-progress-arrow-left {
    margin-right: 0.25rem;
}

.ld-progress-arrow-right {
    margin-left: 0.25rem;
}

.ld-progress-step::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    background-color: #0d4554;
    transition: width 0.3s ease;
}

.ld-progress-step.active::after {
    width: 100%;
}

.ld-progress-step.active {
    border-bottom: 2px solid #0d4554;
}

/* Hide step numbers */
.ld-step-number {
    display: none !important;
}

.ld-step-label {
    display: block;
    margin: 0;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Location Selection Styles */
#ld-location-cards {
    justify-content: space-between;
}

.ld-location-card {
    position: relative;
    padding-bottom: 0.5rem;
    cursor: pointer;
}

.ld-location-card h3 {
    position: relative;
    margin: 0;
}

.ld-location-card h3::after {
    content: "";
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0d4554;
    transition: width 0.3s ease, left 0s ease 0.3s;
}

.ld-location-card:hover h3::after {
    width: 100%;
    left: 0;
    transition: width 0.3s ease, left 0s ease;
}

.ld-location-card:not(:hover):not(.selected) h3::after {
    width: 0;
    left: 100%;
    transition: width 0.3s ease, left 0.3s ease;
}

.ld-location-card.selected h3::after {
    width: 100%;
    left: 0;
    transition: width 0.3s ease, left 0s ease;
}

/* Payment Method Selection Styles (same as category tabs) */
#ld-step-5 #ld-payment-cards {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

#ld-step-5 .ld-payment-method-card {
    position: relative;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
    cursor: pointer;
    width: fit-content;
}

#ld-step-5 .ld-payment-method-card::after {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0d4554;
    transition: width 0.3s ease;
}

#ld-step-5 .ld-payment-method-card.selected::after {
    width: 100%;
}

#ld-step-5 .ld-payment-method-card h3 {
    position: relative;
    margin: 0;
}

#ld-step-5 .ld-payment-method-card h3::after {
    content: "";
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0d4554;
    transition: width 0.3s ease, left 0s ease 0.3s;
}

#ld-step-5 .ld-payment-method-card:hover h3::after {
    width: 100%;
    left: 0;
    transition: width 0.3s ease, left 0s ease;
}

#ld-step-5 .ld-payment-method-card:not(:hover):not(.selected) h3::after {
    width: 0;
    left: 100%;
    transition: width 0.3s ease, left 0.3s ease;
}

#ld-step-5 .ld-payment-method-card.selected h3::after {
    width: 100%;
    left: 0;
    transition: width 0.3s ease, left 0s ease;
}

/* Participant Cards Styles (same as location cards) */
.ld-participant-cards-container {
    position: relative;
}

#ld-participant-cards-bar {
    flex-wrap: nowrap;
    overflow: hidden;
}

.ld-participant-card {
    position: relative;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
    cursor: pointer;
    flex: 0 0 auto;
    white-space: nowrap;
}

.ld-participant-card::after {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0d4554;
    transition: width 0.3s ease;
}

.ld-participant-card.selected::after {
    width: 100%;
}


/* Participant Dropdown Menu (same as category dropdown) */
.ld-participant-dropdown {
    position: relative;
    width: 100%;
    margin-bottom: 1rem;
}

.ld-participant-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ld-participant-dropdown-header:hover {
    border-color: #0d4554;
    background: #f0f8ff;
}

.ld-participant-dropdown-name {
    font-weight: 500;
    color: #333;
    font-size: 0.875rem;
}

.ld-participant-dropdown-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 20px;
    height: 16px;
    cursor: pointer;
}

.ld-participant-dropdown-icon span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #0d4554;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.ld-participant-dropdown.ld-dropdown-open .ld-participant-dropdown-icon span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.ld-participant-dropdown.ld-dropdown-open .ld-participant-dropdown-icon span:nth-child(2) {
    opacity: 0;
}

.ld-participant-dropdown.ld-dropdown-open .ld-participant-dropdown-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.ld-participant-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 4px 4px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.ld-participant-dropdown.ld-dropdown-open .ld-participant-dropdown-menu {
    max-height: 300px;
    opacity: 1;
    overflow-y: auto;
}

.ld-participant-dropdown-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.875rem;
    color: #333;
}

.ld-participant-dropdown-item:last-child {
    border-bottom: none;
}

.ld-participant-dropdown-item:hover {
    background-color: #f0f8ff;
    color: #0d4554;
}

.ld-participant-dropdown-item.selected {
    background-color: #0d4554;
    color: #ffffff;
    font-weight: 600;
}

.ld-participant-dropdown-item.selected:hover {
    background-color: #0a3641;
    color: #ffffff;
}

/* Service Category Tabs */
.ld-category-tabs-container {
    margin-bottom: 1rem;
}

.ld-category-tabs {
    justify-content: space-between;
    margin-bottom: 1rem;
    flex-wrap: nowrap;
    overflow: hidden;
}

.ld-category-tab {
    position: relative;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
    cursor: pointer;
}

.ld-category-tab::after {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0d4554;
    transition: width 0.3s ease;
}

.ld-category-tab.selected::after {
    width: 100%;
}


.ld-category-tab h3 {
    position: relative;
    margin: 0;
}

.ld-category-tab h3::after {
    content: "";
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0d4554;
    transition: width 0.3s ease, left 0s ease 0.3s;
}

.ld-category-tab:hover h3::after {
    width: 100%;
    left: 0;
    transition: width 0.3s ease, left 0s ease;
}

.ld-category-tab:not(:hover):not(.selected) h3::after {
    width: 0;
    left: 100%;
    transition: width 0.3s ease, left 0.3s ease;
}

.ld-category-tab.selected h3::after {
    width: 100%;
    left: 0;
    transition: width 0.3s ease, left 0s ease;
}

.ld-category-tabs-content {
    position: relative;
}

.ld-category-tab-content {
    display: block;
}

/* Category Dropdown Menu */
.ld-category-dropdown {
    position: relative;
    width: 100%;
    margin-bottom: 1rem;
}

.ld-category-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ld-category-dropdown-header:hover {
    border-color: #0d4554;
    background: #f0f8ff;
}

.ld-category-dropdown-name {
    font-weight: 500;
    color: #333;
    font-size: 0.875rem;
}

.ld-category-dropdown-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 20px;
    height: 16px;
    cursor: pointer;
}

.ld-category-dropdown-icon span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #0d4554;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.ld-category-dropdown.ld-dropdown-open .ld-category-dropdown-icon span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.ld-category-dropdown.ld-dropdown-open .ld-category-dropdown-icon span:nth-child(2) {
    opacity: 0;
}

.ld-category-dropdown.ld-dropdown-open .ld-category-dropdown-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.ld-category-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 4px 4px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.ld-category-dropdown.ld-dropdown-open .ld-category-dropdown-menu {
    max-height: 300px;
    opacity: 1;
    overflow-y: auto;
}

.ld-category-dropdown-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.875rem;
    color: #333;
}

.ld-category-dropdown-item:last-child {
    border-bottom: none;
}

.ld-category-dropdown-item:hover {
    background-color: #f0f8ff;
    color: #0d4554;
}

.ld-category-dropdown-item.selected {
    background-color: #0d4554;
    color: #ffffff;
    font-weight: 600;
}

.ld-category-dropdown-item.selected:hover {
    background-color: #0a3641;
    color: #ffffff;
}

/* Duration Cards Styles */
.ld-duration-cards {
    justify-content: left;
    gap: 5rem;
    flex-direction: row;
}

@media (max-width: 768px) {
    .ld-duration-cards {
        gap: 1rem;
    }
}

.ld-duration-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

.ld-btn-add-duration {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.ld-service-select-h3 {
    position: relative;
    font-size: 22px;
    margin: 0;
    cursor: pointer;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.ld-service-select-h3::after {
    content: "";
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0d4554;
    transition: width 0.3s ease, left 0s ease 0.3s;
}

.ld-duration-card:hover .ld-service-select-h3::after {
    width: 100%;
    left: 0;
    transition: width 0.3s ease, left 0s ease;
}

.ld-duration-card:not(:hover) .ld-service-select-h3::after {
    width: 0;
    left: 100%;
    transition: width 0.3s ease, left 0.3s ease;
}

.ld-service-select-h3.ld-disabled {
    cursor: not-allowed;
    opacity: 0.6;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.ld-duration-card:hover .ld-service-select-h3.ld-disabled::after {
    width: 0;
    left: 100%;
    transition: width 0.3s ease, left 0.3s ease;
}


.ld-service-card {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

/* Double Service Styles */
.ld-double-badge {
    padding: 0.2rem 0rem;
    font-weight: normal;
    color: #0d4554;
}

.ld-person-icon {
    font-size: 1.2rem !important;
    margin-left: 0.5rem !important;
}

.ld-service-select-h3.ld-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    background-color: #f5f5f5 !important;
}

.ld-service-double-item {
}

.ld-service-paired-free {
    font-style: italic;
    color: #666;
}

.ld-review-service-double {
}

/* Calendar Styles */
.ld-calendar-section {
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 8px;
}

.ld-calendar {
    flex: 0 0 48%;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.ld-calendar-header {
    gap: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e0e0e0;
}

.ld-calendar-header > h3 {
}

.ld-calendar-nav {
    display: flex;
    gap: 0.8rem;
    margin-top: clamp(1.25rem, 3vw, 2rem) !important;
    margin-bottom: clamp(0.6rem, 1.5vw, 1rem) !important;
}

/* Calendar Navigation Buttons - h3 style like location selection */
.ld-btn-nav {
    position: relative;
    font-size: 36px;
    margin: 0;
    cursor: pointer;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    color: inherit;
    font-weight: 500;
}

.ld-btn-nav::after {
    content: "";
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0d4554;
    transition: width 0.3s ease, left 0s ease 0.3s;
}

.ld-btn-nav:hover::after {
    width: 100%;
    left: 0;
    transition: width 0.3s ease, left 0s ease;
}

.ld-btn-nav:not(:hover)::after {
    width: 0;
    left: 100%;
    transition: width 0.3s ease, left 0.3s ease;
}

.ld-calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.ld-calendar-weekday {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: #666;
    padding: 0.5rem 0;
}

.ld-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
}

.ld-calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    font-weight: 500;
    color: #333;
}

.ld-calendar-day:hover:not(.disabled):not(.other-month) {
    background: #f0f8ff;
    border-color: #0d4554;
    color: #0d4554;
}

.ld-calendar-day.disabled {
    background: #f5f5f5;
    color: #ccc;
    cursor: not-allowed;
    opacity: 0.5;
}

.ld-calendar-day.disabled:hover {
    background: #f5f5f5;
    border-color: #e0e0e0;
    color: #ccc;
}

.ld-calendar-day.today {
    border-color: #0d4554;
    font-weight: 600;
}

.ld-calendar-day.selected {
    background: #0d4554;
    color: #ffffff;
    border-color: #0d4554;
    font-weight: 600;
}

.ld-calendar-day.selected:hover {
    background: #0a3641;
    border-color: #0a3641;
}

.ld-calendar-day.other-month {
    color: #ccc;
    cursor: default;
}

.ld-calendar-day.other-month:hover {
    background: #fafafa;
    border-color: #e0e0e0;
    color: #ccc;
}

/* Party Size Section */
.ld-form-group.ld-party-size-group {
    display: none !important;
    margin-top: 60px !important;
}

.ld-form-group.ld-party-size-group.visible {
    display: flex !important;
}

.ld-party-size-group h3 {
    margin: 0;
    white-space: nowrap;
}

#ld-party-size {
    margin: 0;
    max-width: 100px;
    text-align: center;
    min-width: 50px;
    font-weight: 600;
}

/* Party Size Buttons - Same styling as location card h3 */
.ld-btn-minus,
.ld-btn-plus {
    position: relative;
    background: none !important;
    border: none !important;
    color: inherit;
    font-size: 26px;
    cursor: pointer;
    margin: 0 !important;
    margin-top: clamp(1.25rem, 3vw, 2rem) !important;
    margin-bottom: clamp(0.6rem, 1.5vw, 1rem) !important;
}

.ld-btn-minus::after,
.ld-btn-plus::after {
    content: "";
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0d4554;
    transition: width 0.3s ease, left 0s ease 0.3s;
}

.ld-btn-minus:hover::after,
.ld-btn-plus:hover::after {
    width: 100%;
    left: 0;
    transition: width 0.3s ease, left 0s ease;
}

.ld-btn-minus:not(:hover)::after,
.ld-btn-plus:not(:hover)::after {
    width: 0;
    left: 100%;
    transition: width 0.3s ease, left 0.3s ease;
}

/* Selected Services Styles (New Structure with h3 and strong tags) */
.ld-participants-container {
    margin-top: 1rem;
}

.ld-participant-section {
    margin-bottom: 1.5rem;
}

.ld-participant-section:last-child {
    margin-bottom: 0;
}

.ld-participant-heading {
    margin: 0 0 0.75rem 0;
    font-weight: 600;
    color: #0d4554;
    padding-bottom: 0.5rem;
    position: relative;
}

.ld-participant-heading::after {
    content: "";
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0d4554;
    transition: width 0.3s ease, left 0s ease 0.3s;
}

.ld-participant-heading.ld-participant-clickable {
    cursor: pointer;
    transition: color 0.2s ease;
}

.ld-participant-heading.ld-participant-clickable:hover {
    color: #0d4554;
}

.ld-participant-heading.ld-participant-clickable:hover::after {
    width: 100%;
    left: 0;
    transition: width 0.3s ease, left 0s ease;
}

.ld-participant-heading.selected::after {
    width: 100%;
    left: 0;
    transition: width 0.3s ease, left 0s ease;
}

.ld-participant-heading:not(:hover):not(.selected)::after {
    width: 0;
    left: 100%;
    transition: width 0.3s ease, left 0.3s ease;
}

.ld-services-list {
    display: flex;
    flex-direction: column;
}

.ld-service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.ld-service-strong {
    font-family: Cormorant Garamond;
    font-weight: 600;
    color: #0d4554;
    font-size: 21px;
    flex: 1;
}

.ld-btn-remove-service {
    background: none;
    border: none;
    color: #0d4554;
    cursor: pointer;
    font-size: 1.25rem;
    padding: 0.25rem 0.5rem;
    line-height: 1;
    flex-shrink: 0;
    margin: 0;
    transition: color 0.2s ease;
}

.ld-btn-remove-service:hover {
    color: #0a3641;
}

.ld-no-services {
    margin: 0.5rem 0;
    color: #0d4554;
    font-style: italic;
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Buttons with "AdaugÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢" text - remove top margin */
.ld-btn-add-service {
    margin-top: 0px !important;
}

/* Timeslots Section */
.ld-timeslots-section {
    flex: 0 0 48%;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Time Slot Buttons - h3 style like location selection */
.ld-time-slot-btn {
    width: 40px;
    font-family: Karla;
    position: relative;
    font-size: 19px;
    margin: 0;
    cursor: pointer;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    color: inherit;
    font-weight: 400;
}

.ld-time-slot-btn::after {
    content: "";
    position: absolute;
    bottom: 0rem;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0d4554;
    transition: width 0.3s ease, left 0s ease 0.3s;
}

.ld-time-slot-btn:hover::after {
    width: 100%;
    left: 0;
    transition: width 0.3s ease, left 0s ease;
}

.ld-time-slot-btn:not(:hover):not(.selected)::after {
    width: 0;
    left: 100%;
    transition: width 0.3s ease, left 0.3s ease;
}

.ld-time-slot-btn.selected::after {
    width: 100%;
    left: 0;
    transition: width 0.3s ease, left 0s ease;
}

/* Timeslots Loading Indicator */
.ld-timeslots-loading {
    padding: 2rem;
    min-height: 100px;
}

.ld-timeslots-loading p {
    margin: 0;
    color: #666;
    font-size: 0.875rem;
}

/* Small Spinner for Timeslots */
.ld-spinner-small {
    width: 24px;
    height: 24px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #0d4554;
    border-radius: 50%;
    animation: ld-spin 1s linear infinite;
}

@keyframes ld-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* No slots message */
.ld-no-slots {
    padding: 1rem;
    text-align: center;
    color: #666;
    font-style: italic;
}

/* Locations Loading Indicator */
.ld-locations-loading {
    padding: 2rem;
    min-height: 150px;
    width: 100%;
}

.ld-locations-loading p {
    margin: 0;
    color: #666;
    font-size: 0.875rem;
}

/* Step with Sidebar Layout (Steps 2-5) */
.ld-step-with-sidebar {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    align-items: flex-start;
}

.ld-step-content {
    flex: 0 0 70%;
    min-width: 0;
}

.ld-services-sidebar {
    flex: 0 0 30%;
    min-width: 0;
    position: sticky;
    top: 2rem;
    align-self: flex-start;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.ld-services-sidebar h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #0d4554;
}

/* Locked Services (Steps 4-5) */
.ld-services-locked .ld-btn-remove-service {
    display: none !important;
}

/* Sidebar Total */
.ld-sidebar-total {
    font-weight: 600;
    font-size: 1rem;
    color: #0d4554;
}

/* Sidebar Date/Time Information */
.ld-sidebar-datetime {
    color: #0d4554;
}

.ld-sidebar-datetime .ld-service-strong {
    font-family: Cormorant Garamond;
    font-weight: 600;
    color: #0d4554;
}

/* Navigation Buttons Container - Sticky */
.ld-navigation-buttons-container {
    position: sticky;
    bottom: 0;
    padding-bottom: 25px;
    padding-top: 25px;
    z-index: 100;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.ld-navigation-buttons-container .ld-nav-button {
    flex: 0 0 auto;
    min-width: 120px;
}

.ld-nav-button-container {
    border-radius: 8px;
    padding: 1rem;
    background-color: rgb(241, 241, 241);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.ld-nav-button-container:last-child {
    margin-left: auto;
}

/* Navigation buttons styled like location card h3 */
.ld-nav-button {
    position: relative;
    margin: 0;
    cursor: pointer;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.ld-nav-button::after {
    content: "";
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0d4554;
    transition: width 0.3s ease, left 0s ease 0.3s;
}

.ld-nav-button:hover::after {
    width: 100%;
    left: 0;
    transition: width 0.3s ease, left 0s ease;
}

.ld-nav-button:not(:hover)::after {
    width: 0;
    left: 100%;
    transition: width 0.3s ease, left 0.3s ease;
}

/* Ensure Previous button is always on the left */
#ld-btn-prev {
    order: 1;
}

/* Ensure Next button is always on the right */
#ld-btn-next {
    order: 2;
    margin-left: auto;
}

/* Responsive: Stack columns on mobile */
@media (max-width: 768px) {
    /* All h3 tags font-size 22px on mobile */
    h3 {
        font-size: 22px !important;
    }
    
    .ld-step-with-sidebar {
        flex-direction: column;
        gap: 1rem;
    }
    
    .ld-step-content {
        flex: 1 1 100%;
        width: 100%;
    }
    
    .ld-services-sidebar {
        flex: 1 1 100%;
        width: 100%;
        position: static;
        top: auto;
    }
    
    /* Step 2: Force categories to dropdown on mobile and reorder layout */
    #ld-step-2 .ld-step-with-sidebar {
        display: flex;
        flex-direction: column;
    }
    
    /* Move sidebar (participants) above step content on mobile */
    #ld-step-2 .ld-services-sidebar {
        order: -1;
    }
    
    #ld-step-2 .ld-step-content {
        order: 1;
    }
    
    /* Force categories to always be dropdown on mobile for step 2 */
    #ld-step-2 #ld-category-tabs-bar {
        display: none !important;
    }
    
    #ld-step-2 .ld-category-dropdown {
        display: block !important;
    }
    
    /* Navigation buttons on mobile */
    .ld-navigation-buttons-container {
        flex-direction: row !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        padding: 0.75rem 1rem;
        padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
        margin-top: 0;
        flex-direction: column;
        gap: 0.75rem;
        z-index: 1000;
        box-sizing: border-box;
        background-color: rgb(241, 241, 241);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
    
    /* Add padding to bottom of wizard container to prevent content from being hidden behind fixed nav */
    .ld-booking-widget .ld-container-column {
        padding-bottom: calc(120px + env(safe-area-inset-bottom));
    }
    
    .ld-navigation-buttons-container .ld-nav-button {
        width: 100%;
        min-width: unset;
    }
    
    /* Remove background and shadow from button containers on mobile */
    .ld-nav-button-container {
        background-color: transparent;
        box-shadow: none;
    }
}

/* Mobile: service added to cart confirmation popup */
.ld-service-added-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom));
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0.45);
}

.ld-service-added-modal-dialog {
    width: 100%;
    max-width: 360px;
    background-color: #fff;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.ld-service-added-modal-message {
    margin: 0 0 0.75rem 0;
    font-size: 1rem;
    line-height: 1.4;
    color: #333;
}

.ld-service-added-modal-total {
    margin: 0 0 1.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #0d4554;
}

.ld-service-added-modal-ok {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background-color: #0d4554;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.ld-service-added-modal-ok:hover,
.ld-service-added-modal-ok:focus {
    background-color: #0a3844;
    outline: none;
}

/* Step 4: Customer Information Styling */
#ld-step-4 .ld-form-group h3 {
    margin: 0;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    font-size: 22px;
    font-weight: 500;
    position: relative;
}

/* Step 4 Inputs - Same styling as ld-party-size but with border */
#ld-step-4 .ld-step4-input {
    margin: 0;
    font-weight: 600;
    border: 1px solid #c5c6c9;
    border-radius: 4px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

#ld-step-4 .ld-step4-input:focus {
    outline: none;
    border-color: #0d4554;
}

#ld-step-4 .ld-step4-input::placeholder {
    color: #999;
    font-weight: 400;
}

#ld-step-4 textarea.ld-step4-input {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

/* Step 6: Review & Confirm Styling */
#ld-step-6 .ld-review-sections-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

#ld-step-6 .ld-review-section {
    flex: 1 1 300px;
    min-width: 0;
}

#ld-step-6 .ld-review-section h3 {
    margin: 0 0 1rem 0;
    position: relative;
}

#ld-step-6 .ld-review-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

#ld-step-6 .ld-review-item {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
}

#ld-step-6 .ld-review-label {
    font-weight: 600;
    color: #0d4554;
    white-space: nowrap;
}

#ld-step-6 .ld-review-value {
    color: #333;
    flex: 1;
    min-width: 0;
}

#ld-step-6 #ld-review-services {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}