@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.apt-widget-shell {
    --apt-primary: #22c55e;
    --apt-secondary-color: #3b82f6;
    --apt-bg: #f3f4f6;
    --apt-surface: #ffffff;
    --apt-text-primary: #111827;
    --apt-text-secondary: #6b7280;
    --apt-border: #e5e7eb;
    --apt-error: #ef4444;
    --apt-success: #22c55e;
    --apt-primary-faint: rgba(34, 197, 94, 0.08);
    --apt-font-sans: 'Inter', 'SF Pro Display', 'Helvetica Neue', sans-serif;
    --apt-radius: 16px;
}

.apt-widget-shell {
    background: var(--apt-bg);
    padding: 28px;
    display: flex;
    justify-content: center;
    isolation: isolate;
    font-family: var(--apt-font-sans);
}

.apt-widget-shell,
.apt-widget-shell * {
    box-sizing: border-box;
}

.apt-widget-shell img {
    max-width: 100%;
    height: auto;
    display: block;
}

.apt-widget-card {
    width: 100%;
    max-width: 960px;
    background: var(--apt-surface);
    border-radius: var(--apt-radius);
    border: 1px solid var(--apt-border);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    padding: 26px;
    box-sizing: border-box;
    position: relative;
    overflow: visible;
}

.apt-booking-layout {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.apt-booking-layout--accordion {
    width: 100%;
}

.apt-accordion {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.apt-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.apt-accordion-item {
    border-radius: 14px;
    border: 1px solid var(--apt-border);
    background: var(--apt-surface);
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.apt-accordion-item.apt-accordion-item--active {
    overflow: visible;
}

.apt-step-chip {
    width: 100%;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    color: var(--apt-text-primary);
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.apt-step-chip.active {
    background: var(--apt-primary-faint);
    color: var(--apt-text-primary);
}

.apt-step-chip:hover {
    background: var(--apt-primary-faint);
}

.apt-step-chip:focus-visible,
.apt-option-row:focus-visible,
.apt-time-chip:focus-visible,
.apt-extra-row:focus-visible {
    outline: 2px solid var(--apt-primary);
    outline-offset: 2px;
}

.apt-step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--apt-border);
    flex-shrink: 0;
}

.apt-step-chip.active .apt-step-dot {
    background: var(--apt-primary);
    border-color: var(--apt-primary);
}

.apt-step-chip.completed .apt-step-dot {
    background: var(--apt-success);
    border-color: var(--apt-success);
}

.apt-step-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.apt-step-title {
    font-size: 14px;
    font-weight: 600;
    color: inherit;
}

.apt-step-value {
    font-size: 12px;
    color: var(--apt-text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.apt-step-value.is-empty {
    display: none;
}

.apt-step-check {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 1px solid var(--apt-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--apt-success);
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

.apt-step-chip.completed .apt-step-check {
    opacity: 1;
    transform: scale(1);
    background: var(--apt-success);
    color: #fff;
    border-color: var(--apt-success);
}

.apt-step-toggle {
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--apt-text-secondary);
    border-bottom: 2px solid var(--apt-text-secondary);
    transform: rotate(45deg);
    transition: transform 0.2s ease, border-color 0.2s ease;
    margin-left: 4px;
}

.apt-step-chip.active .apt-step-toggle {
    transform: rotate(-135deg);
    border-color: var(--apt-primary);
}

.apt-summary-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 14px;
    margin-bottom: 18px;
    border-radius: 12px;
    border: 1px solid var(--apt-border);
    background: var(--apt-bg);
}

.apt-summary-item {
    min-width: 120px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.apt-summary-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--apt-text-secondary);
}

.apt-summary-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--apt-text-primary);
}

.apt-step-panel {
    display: none;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.apt-step-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.apt-accordion-item .apt-step-panel {
    padding: 16px 18px 20px;
    border-top: 1px solid var(--apt-border);
    background: var(--apt-surface);
}

.apt-step-panel[data-apt-panel="success"],
.apt-step-panel[data-apt-panel="error"] {
    margin-top: 16px;
}

.apt-panel-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px;
    color: var(--apt-text-primary);
}

.apt-panel-description {
    margin: 0 0 14px;
    color: var(--apt-text-secondary);
    font-size: 13px;
}

.apt-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.apt-option-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.apt-card-select {
    border: 1px solid var(--apt-border);
    border-radius: 10px;
    padding: 10px 12px;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    background: var(--apt-surface);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.apt-card-select:hover {
    border-color: var(--apt-primary);
    box-shadow: 0 8px 20px rgba(0,0,0,0.05); /* Reduced opacity for dark themes */
}

.apt-card-select.active {
    border-color: var(--apt-primary);
    background: var(--apt-primary-faint);
}

.apt-option-row {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.apt-option-row::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--apt-border);
    flex-shrink: 0;
}

.apt-option-row.active::before {
    border-color: var(--apt-primary);
    background: var(--apt-primary);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.12);
}

.apt-option-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1 1 220px;
    min-width: 0;
}

.apt-option-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--apt-text-primary);
}

.apt-option-meta {
    font-size: 12px;
    color: var(--apt-text-secondary);
}

.apt-option-note {
    font-size: 12px;
    color: var(--apt-text-secondary);
    line-height: 1.35;
}

.apt-staff-row .apt-option-content {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 8px;
    row-gap: 2px;
}

.apt-staff-row .apt-option-note {
    flex: 1 1 160px;
}

.apt-option-avatar {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--apt-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.apt-option-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.apt-option-initial {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--apt-text-secondary);
    background: var(--apt-bg);
}

.apt-option-desc {
    flex-basis: 100%;
    font-size: 12px;
    color: var(--apt-text-secondary);
    line-height: 1.4;
    margin-left: 22px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.2s ease, opacity 0.2s ease;
}

.apt-option-desc.is-open {
    max-height: 120px;
    opacity: 1;
    margin-top: 6px;
}

.apt-any-staff {
    border-style: dashed;
}

.apt-service-row {
    align-items: center;
    gap: 8px;
}

.apt-service-group {
    border-radius: 16px;
    padding: 0;
    background: transparent;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.apt-service-group__header {
    width: 100%;
    border: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)), var(--apt-surface);
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font: inherit;
    color: var(--apt-text-primary);
    text-align: left;
    transition: box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
}

.apt-service-group__header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--apt-primary), var(--apt-secondary-color));
    opacity: 0.9;
}

.apt-service-group__header:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)), var(--apt-surface);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.45);
    transform: translateY(-1px);
}

.apt-service-group__header:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--apt-primary);
}

.apt-service-group__icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--apt-text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 8px 14px rgba(0, 0, 0, 0.25);
    flex-shrink: 0;
}

.apt-service-group__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1 1 auto;
    min-width: 0;
}

.apt-service-group__title {
    font-size: 15px;
    font-weight: 700;
}

.apt-service-group__count {
    font-size: 12px;
    color: var(--apt-text-primary);
    border: none;
    background: rgba(255, 255, 255, 0.06);
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.apt-service-group__chevron {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.apt-service-group__chevron::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--apt-text-primary);
    border-bottom: 2px solid var(--apt-text-primary);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.apt-service-group__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 2px 4px 4px;
    max-height: 2000px;
    overflow: hidden;
    opacity: 1;
    transition: max-height 0.25s ease, opacity 0.25s ease, padding 0.25s ease;
}

.apt-service-group.is-collapsed .apt-service-group__chevron::after {
    transform: rotate(-135deg);
}

.apt-service-group.is-collapsed .apt-service-group__list {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.apt-service-row .apt-option-content {
    gap: 2px;
}

.apt-service-row .apt-option-title {
    font-size: 14px;
    line-height: 1.2;
}

.apt-service-row .apt-option-meta {
    font-size: 12px;
    line-height: 1.2;
}

.apt-card-image {
    width: 100%;
    height: 84px;
    object-fit: cover;
    border-radius: 6px;
    background: var(--apt-bg);
}

.apt-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.apt-widget-shell .apt-card-avatar,
.apt-card-avatar {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover !important;
    background: var(--apt-bg);
    display: block;
    flex-shrink: 0;
    margin: 0;
    vertical-align: middle;
}

.apt-widget-shell .apt-card-title,
.apt-card-title {
    margin: 0 0 6px !important;
    padding: 0 !important;
    font-size: 16px;
    font-weight: 700;
    color: var(--apt-text-primary);
    line-height: 1.2 !important;
}

.apt-widget-shell .apt-card-desc,
.apt-card-desc {
    font-size: 13px;
    color: var(--apt-text-secondary);
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
}

.apt-card-meta {
    margin: 0;
    color: var(--apt-text-secondary);
    font-size: 13px;
}

/* List Layout Styles */
.apt-list-layout {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.apt-card-select.apt-layout-row {
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

.apt-layout-left {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.apt-layout-right {
    flex-grow: 1;
}

.apt-card-thumb {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--apt-bg);
}

.apt-placeholder-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--apt-text-secondary);
    font-size: 18px;
}

.apt-input {
    position: relative;
}

.apt-input input,
.apt-input select,
.apt-input textarea,
.apt-input .apt-custom-control {
    width: 100%;
    padding: 14px 12px 10px;
    border-radius: 8px;
    border: 1px solid var(--apt-border);
    background: var(--apt-surface);
    color: var(--apt-text-primary);
    font-size: 14px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
}

.apt-input textarea {
    min-height: 90px;
    resize: vertical;
}

.apt-input input:focus,
.apt-input select:focus,
.apt-input textarea:focus,
.apt-input .apt-custom-control:focus {
    border-color: var(--apt-primary);
    box-shadow: 0 0 0 1px var(--apt-primary);
    outline: none;
}

.apt-input label {
    position: absolute;
    left: 12px;
    top: 14px;
    color: var(--apt-text-secondary);
    pointer-events: none;
    transition: all 0.15s ease;
    background: var(--apt-surface);
    padding: 0 4px;
}

.apt-input--stacked label,
.apt-input--date label {
    position: static;
    display: block;
    margin-bottom: 6px;
    transform: none;
    color: var(--apt-text-primary);
    font-weight: 600;
}

.apt-input--stacked select,
.apt-input--date input[type="text"] {
    padding-top: 12px;
}

.apt-input select + label,
.apt-input .apt-custom-control + label {
    transform: translateY(-18px) scale(0.9);
    color: var(--apt-text-primary);
}

.apt-input--stacked select + label,
.apt-input--date input + label,
.apt-checkbox-wrapper label {
    transform: none;
}

.apt-checkbox-wrapper {
    display: flex;
    align-items: center;
    margin: 16px 0;
    padding: 0 4px;
}

.apt-checkbox-wrapper label {
    position: static;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--apt-text-primary);
    pointer-events: auto;
    margin: 0;
    width: auto;
}

.apt-checkbox-wrapper input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
    border: 2px solid var(--apt-border);
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
    background-color: var(--apt-surface);
}

.apt-checkbox-wrapper input[type="checkbox"]:checked {
    background-color: var(--apt-primary);
    border-color: var(--apt-primary);
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
}

.apt-input input:focus + label,
.apt-input input:not(:placeholder-shown) + label,
.apt-input textarea:focus + label,
.apt-input textarea:not(:placeholder-shown) + label,
.apt-input select:focus + label,
.apt-input select:not([value=""]) + label,
.apt-input select.filled + label,
.apt-input input.filled + label,
.apt-input textarea.filled + label,
.apt-input .apt-custom-control.filled + label {
    transform: translateY(-18px) scale(0.9);
    color: var(--apt-primary);
}

.apt-input--stacked select:focus + label,
.apt-input--stacked select:not([value=""]) + label,
.apt-input--stacked select.filled + label,
.apt-input--date input:focus + label,
.apt-input--date input:not(:placeholder-shown) + label,
.apt-input--date input.filled + label {
    transform: none;
    color: var(--apt-text-primary);
}

.apt-input--date {
    position: relative;
}

.apt-input--date .flatpickr-calendar {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    right: auto !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    border-radius: 12px;
    z-index: 40;
    background: #111318;
    color: #f5f7fb;
    border: 1px solid #2a2f3a;
}

.apt-input--date .flatpickr-calendar .flatpickr-months,
.apt-input--date .flatpickr-calendar .flatpickr-weekdays {
    background: transparent;
}

.apt-input--date .flatpickr-calendar .flatpickr-months {
    position: relative;
    padding: 8px 32px 0;
    overflow: visible;
}

.apt-input--date .flatpickr-calendar .flatpickr-month,
.apt-input--date .flatpickr-calendar .flatpickr-weekday {
    color: #c7ced8;
}

.apt-input--date .flatpickr-calendar .flatpickr-day {
    color: #d6dbe2;
    border-radius: 8px;
}

.apt-input--date .flatpickr-calendar .flatpickr-day:hover {
    background: rgba(255, 255, 255, 0.08);
}

.apt-input--date .flatpickr-calendar .flatpickr-day.selected,
.apt-input--date .flatpickr-calendar .flatpickr-day.startRange,
.apt-input--date .flatpickr-calendar .flatpickr-day.endRange,
.apt-input--date .flatpickr-calendar .flatpickr-day.selected:hover {
    background: var(--apt-primary);
    border-color: var(--apt-primary);
    color: #fff;
}

.apt-input--date .flatpickr-calendar .flatpickr-day.today {
    border-color: var(--apt-secondary-color);
}

.apt-input--date .flatpickr-calendar .flatpickr-day.inRange {
    background: rgba(76, 124, 247, 0.2);
    color: #fff;
}

.apt-input--date .flatpickr-calendar .flatpickr-day.disabled,
.apt-input--date .flatpickr-calendar .flatpickr-day.flatpickr-disabled,
.apt-input--date .flatpickr-calendar .flatpickr-day.prevMonthDay,
.apt-input--date .flatpickr-calendar .flatpickr-day.nextMonthDay {
    color: #545b66;
    background: rgba(255, 255, 255, 0.03);
}

.apt-input--date .flatpickr-calendar .flatpickr-prev-month,
.apt-input--date .flatpickr-calendar .flatpickr-next-month {
    color: #d6dbe2;
    fill: currentColor;
    top: 8px;
    width: 28px;
    height: 28px;
    line-height: 28px;
    z-index: 1;
}

.apt-input--date .flatpickr-calendar .flatpickr-prev-month {
    left: 8px;
}

.apt-input--date .flatpickr-calendar .flatpickr-next-month {
    right: 8px;
}

.apt-input--date .flatpickr-calendar .flatpickr-time {
    border-top: 1px solid #2a2f3a;
    background: #151922;
    color: #f5f7fb;
}

.apt-input--date .flatpickr-calendar .flatpickr-time input,
.apt-input--date .flatpickr-calendar .flatpickr-time .flatpickr-time-separator,
.apt-input--date .flatpickr-calendar .flatpickr-time .flatpickr-am-pm,
.apt-input--date .flatpickr-calendar .flatpickr-time .numInputWrapper,
.apt-input--date .flatpickr-calendar .flatpickr-time .numInputWrapper span {
    background: #151922;
    color: #f5f7fb;
}

.apt-slot-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.apt-time-chip {
    border: 1px solid var(--apt-border);
    border-radius: 10px;
    padding: 10px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.15s ease;
    color: var(--apt-text-primary);
    background: var(--apt-surface);
}

.apt-time-chip:hover {
    border-color: var(--apt-primary);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.apt-time-chip.active {
    background: var(--apt-primary);
    color: #fff;
    border-color: var(--apt-primary);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.apt-time-chip--waitlist {
    border-style: dashed;
    background: #fff8e6;
    border-color: #d8b56a;
    color: #5a4618;
}

.apt-time-chip--waitlist:hover {
    border-color: #b98b2f;
    box-shadow: 0 6px 16px rgba(185, 139, 47, 0.22);
}

.apt-time-chip--waitlist.apt-time-chip--joined {
    cursor: default;
    opacity: 0.75;
    border-style: solid;
}

.apt-time-chip.is-loading {
    pointer-events: none;
    opacity: 0.6;
}

.apt-button-row {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.apt-btn {
    border: none;
    border-radius: 12px;
    height: 52px;
    padding: 0 20px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
    box-sizing: border-box;
}

.apt-btn-primary {
    background: var(--apt-primary);
    color: #fff;
    width: 100%;
}

.apt-btn-primary:hover {
    opacity: 0.9;
}

.apt-btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.apt-btn-secondary {
    background: transparent;
    border: 1px solid var(--apt-border);
    color: var(--apt-text-primary);
    width: 100%;
}

.apt-btn-secondary:hover {
    background: var(--apt-bg);
}

.apt-summary-box {
    border: 1px solid var(--apt-border);
    border-radius: 10px;
    padding: 16px;
    background: var(--apt-bg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
}

.apt-service-extras {
    margin-top: 10px;
    margin-left: 22px;
    padding: 12px 14px;
    border-left: 3px solid var(--apt-border);
    border-radius: 10px;
    background: var(--apt-bg);
}

.apt-service-extras--standalone {
    margin-left: 0;
}

.apt-inline-next-wrap {
    margin-top: 10px;
}

.apt-service-extras__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.apt-service-extras__header h4 {
    margin: 0;
    font-size: 14px;
    color: var(--apt-text-primary);
}

.apt-service-extras__header .apt-panel-description {
    margin: 4px 0 0;
    font-size: 12px;
}

.apt-extras-toggle {
    border: 1px solid var(--apt-border);
    background: transparent;
    color: var(--apt-text-secondary);
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    cursor: pointer;
    display: none;
}

.apt-extras-toggle:hover {
    border-color: var(--apt-primary);
    color: var(--apt-primary);
}

.apt-extras-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.apt-extra-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--apt-surface);
    border: 1px solid var(--apt-border);
    border-radius: 8px;
    padding: 8px 10px;
    cursor: pointer;
    color: var(--apt-text-primary);
}

.apt-extra-row.active {
    border-color: var(--apt-primary);
    background: var(--apt-bg);
}

.apt-extra-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--apt-primary);
}

.apt-extra-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.apt-extra-name {
    font-size: 13px;
    font-weight: 600;
}

.apt-extra-details {
    font-size: 12px;
    color: var(--apt-text-secondary);
}

.apt-extras-collapsed .apt-extras-list {
    display: none;
}

.apt-step-panel[data-apt-panel="service"] .apt-card-select,
.apt-step-panel[data-apt-panel="staff"] .apt-card-select {
    padding: 8px 10px;
    gap: 4px;
    min-height: unset;
}

.apt-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--apt-text-primary);
    font-weight: 600;
}

.apt-summary-row span {
    color: var(--apt-text-secondary);
    font-weight: 500;
}

.apt-success-panel {
    text-align: center;
    padding: 24px 10px;
}

.apt-success-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(46, 139, 87, 0.12);
    color: var(--apt-success);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 12px;
}

.apt-tagline {
    margin: 0;
    color: var(--apt-text-secondary);
}

.apt-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--apt-text-primary);
}

.apt-spinner {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--apt-border);
    border-top-color: var(--apt-primary);
    animation: apt-spin 0.7s linear infinite;
}

@keyframes apt-spin {
    to { transform: rotate(360deg); }
}

.apt-divider {
    height: 1px;
    background: var(--apt-border);
    margin: 16px 0;
}

.apt-panel-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
}

.apt-panel-actions .apt-btn {
    flex: 1;
}

.apt-slim-text {
    color: var(--apt-text-secondary);
    font-size: 13px;
    margin-top: 6px;
}

.apt-hidden { display: none !important; }

.apt-captcha-wrap {
    border: 1px solid var(--apt-border);
    border-radius: 12px;
    background: var(--apt-bg);
    padding: 12px;
}

.apt-captcha-message {
    margin: 8px 0 0;
    font-size: 12px;
    color: var(--apt-error);
}

.apt-staff-day-offs-note {
    background-color: var(--apt-bg);
    border: 1px solid var(--apt-border);
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 16px;
    color: var(--apt-text-primary);
    font-size: 14px;
    text-align: center;
}

.apt-staff-notes-text {
    margin-top: 8px;
    text-align: left;
    white-space: pre-wrap;
}

@media (max-width: 720px) {
    .apt-widget-shell {
        padding: 0;
    }

    .apt-widget-card {
        padding: 18px;
        border-radius: 0;
        max-width: 100%;
        box-shadow: none;
    }

    .apt-booking-layout {
        gap: 14px;
    }

    .apt-accordion-item {
        border-radius: 12px;
    }

    .apt-step-chip {
        padding: 14px;
        font-size: 13px;
    }

    .apt-step-value {
        font-size: 11px;
    }

    .apt-summary-bar {
        gap: 8px;
    }

    .apt-extras-toggle {
        display: inline-flex;
    }

    .apt-service-extras {
        margin-left: 0;
    }

    .apt-option-row {
        flex-wrap: nowrap;
        align-items: center;
    }

    .apt-option-content {
        flex: 1 1 auto;
    }

    .apt-service-row {
        display: grid !important;
        grid-template-columns: 14px minmax(0, 1fr);
        column-gap: 10px;
        align-items: start;
    }

    .apt-service-row .apt-option-content {
        width: 100% !important;
        max-width: none !important;
        min-width: 0;
    }

    .apt-service-row .apt-option-title,
    .apt-service-row .apt-option-meta {
        width: 100%;
        max-width: none;
    }

    .apt-service-row .apt-option-desc {
        grid-column: 2 / -1;
        margin-left: 0;
    }

    .apt-button-row {
        flex-direction: column;
    }

    .apt-panel-actions {
        flex-direction: column;
    }

    .apt-panel-actions .apt-btn {
        height: 72px;
        font-size: 16px;
        padding: 0 24px;
    }

    .apt-slot-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .apt-step-panel[data-apt-panel="success"] .apt-summary-box,
    .apt-step-panel[data-apt-panel="confirmation"] .apt-summary-box {
        text-align: left;
        padding: 18px 16px;
    }

    .apt-step-panel[data-apt-panel="success"] .apt-summary-row,
    .apt-step-panel[data-apt-panel="confirmation"] .apt-summary-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        margin-bottom: 0;
        padding: 10px 0;
        border-bottom: 1px solid var(--apt-border);
    }

    .apt-step-panel[data-apt-panel="success"] .apt-summary-row:last-child,
    .apt-step-panel[data-apt-panel="confirmation"] .apt-summary-row:last-child {
        border-bottom: none;
    }

    .apt-step-panel[data-apt-panel="success"] .apt-summary-row span:first-child,
    .apt-step-panel[data-apt-panel="confirmation"] .apt-summary-row span:first-child {
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: var(--apt-text-secondary);
        font-weight: 600;
    }

    .apt-staff-row {
        align-items: flex-start;
    }

    .apt-staff-row .apt-option-content {
        flex-direction: column;
        align-items: flex-start;
        row-gap: 4px;
    }

    .apt-staff-row .apt-option-note {
        flex: 0 0 auto;
        width: 100%;
    }

    .apt-step-panel[data-apt-panel="success"] .apt-summary-row span:last-child,
    .apt-step-panel[data-apt-panel="confirmation"] .apt-summary-row span:last-child {
        font-size: 15px;
        font-weight: 600;
        color: var(--apt-text-primary);
        overflow-wrap: anywhere;
    }

    .apt-input--date .flatpickr-calendar {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        right: auto !important;
        transform: translate(-50%, -50%);
        width: min(340px, calc(100vw - 32px));
        max-height: calc(100vh - 32px);
        overflow-y: auto;
    }
}

/* 2026 responsive booking redesign */
.apt-widget-shell {
    background: var(--apt-bg);
    padding: 22px;
}

.apt-widget-shell .apt-widget-card {
    max-width: 1120px;
    padding: 0;
    border-radius: 24px;
    border: 1px solid var(--apt-border);
    background: var(--apt-surface);
    box-shadow: 0 24px 48px -34px rgba(15, 23, 42, 0.45);
    overflow: hidden;
}

.apt-booking-root {
    min-height: 680px;
}

.apt-mobile-header {
    display: none;
}

.apt-stepper-wrap {
    padding: 34px 28px 20px;
    border-bottom: 1px solid var(--apt-border);
    background: var(--apt-surface);
}

.apt-step-content {
    padding: 34px 24px 22px;
}

.apt-stepper {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.apt-stepper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 7%;
    right: 7%;
    height: 2px;
    border-radius: 999px;
    background: var(--apt-border);
    z-index: 0;
}

.apt-step-chip {
    width: auto;
    min-width: 100px;
    padding: 0 8px;
    background: transparent;
    border: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--apt-text-secondary);
    position: relative;
    z-index: 1;
}

.apt-step-chip > div {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd5e1;
    background: #e5e7eb;
    color: #4b5563;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease;
}

.apt-step-chip.active > div {
    width: 48px;
    height: 48px;
    background: var(--apt-primary);
    border-color: var(--apt-primary);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}

.apt-step-chip.completed > div {
    background: var(--apt-primary);
    border-color: var(--apt-primary);
    color: #fff;
}

.apt-step-chip > div > span:first-child {
    display: inline;
}

.apt-step-chip .apt-step-checkmark {
    display: none;
}

.apt-step-chip.completed > div > span:first-child {
    display: none;
}

.apt-step-chip.completed .apt-step-checkmark {
    display: inline;
    color: #fff;
}

.apt-step-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--apt-text-secondary);
}

.apt-step-chip.active .apt-step-label {
    color: var(--apt-primary);
    font-weight: 700;
}

.apt-step-chip.active,
.apt-step-chip.active:hover,
.apt-step-chip.active:focus-visible {
    background: transparent;
    box-shadow: none;
}

.apt-mobile-progress {
    display: none;
}

.apt-step-panel {
    margin: 0 auto;
    width: 100%;
    max-width: 760px;
    padding-top: 4px;
}

.apt-panel-heading {
    margin: 0 0 12px;
    text-align: center;
    font-size: clamp(36px, 3vw, 52px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--apt-text-primary);
}

.apt-panel-copy {
    margin: 0 auto 28px;
    max-width: 680px;
    text-align: center;
    color: var(--apt-text-secondary);
    font-size: clamp(16px, 1.5vw, 21px);
    line-height: 1.45;
}

/* The widget can be embedded inside the storefront, where `.apt-storefront p`
   and `.apt-storefront a` outrank the utility classes and strip the auto side
   margins, spacing and link colour of the success/error panels. */
.apt-step-panel .apt-result-panel {
    text-align: center;
}

.apt-step-panel .apt-result-title {
    margin: 0 auto 16px;
    text-align: center;
}

.apt-step-panel .apt-result-copy {
    max-width: 28rem;
    margin: 0 auto 24px;
    text-align: center;
}

.apt-step-panel .apt-result-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.apt-step-panel .apt-result-link {
    color: var(--apt-primary, #22c55e);
}

.apt-step-panel .apt-result-auth-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: -8px;
}

.apt-step-panel .apt-result-auth-sep {
    color: var(--apt-text-secondary);
}

.apt-step-panel .apt-result-icon--info {
    background: rgba(59, 130, 246, 0.12);
    color: #2563eb;
}

.apt-step-panel .apt-account-note {
    margin: 8px 0 0 26px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--apt-text-secondary);
}

[data-apt-staff] {
    width: 100%;
}

[data-apt-services].apt-option-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.apt-staff-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.apt-card-select {
    border-radius: 16px;
    border: 1px solid var(--apt-border);
    background: var(--apt-surface);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
    transition: border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease, transform 0.24s ease;
}

.apt-card-select:hover {
    border-color: #cbd5e1;
    box-shadow: 0 20px 34px -30px rgba(15, 23, 42, 0.7);
}

.apt-card-select.active {
    border-color: var(--apt-primary);
    background: rgba(34, 197, 94, 0.08);
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.4), 0 24px 38px -30px rgba(34, 197, 94, 0.8);
}

[data-apt-services].apt-option-list.apt-services-has-selection .apt-service-row.active {
    grid-column: 1 / -1;
    min-height: 118px;
    padding: 16px 18px;
    align-items: flex-start;
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.12) 0%, rgba(34, 197, 94, 0.06) 100%);
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.38), 0 20px 40px -28px rgba(15, 23, 42, 0.5);
    overflow: hidden;
}

[data-apt-services].apt-option-list.apt-services-has-selection .apt-service-row.active .apt-option-content {
    gap: 6px;
}

[data-apt-services].apt-option-list.apt-services-has-selection .apt-service-row.active .apt-option-title {
    font-size: 22px;
    line-height: 1.1;
}

[data-apt-services].apt-option-list.apt-services-has-selection .apt-service-row.active .apt-option-meta {
    font-size: 15px;
}

[data-apt-services].apt-option-list .apt-service-row .apt-option-desc {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    margin-left: 0;
    padding-left: 56px;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

[data-apt-services].apt-option-list.apt-services-has-selection .apt-service-row.active .apt-option-desc.is-open {
    max-height: 260px;
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.45;
    color: var(--apt-text-primary);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.apt-option-row::before {
    display: none;
}

.apt-service-row,
.apt-staff-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    min-height: 78px;
}

.apt-service-row {
    flex-wrap: wrap;
}

.apt-service-row .apt-option-content {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.apt-service-row .apt-option-desc {
    flex: 0 0 100%;
    margin: 6px 0 0 56px;
}

.apt-option-avatar {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    overflow: hidden;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.apt-option-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 999px;
    display: block;
}

.apt-option-initial {
    background: #ecfdf3;
    color: var(--apt-primary);
    font-size: 22px;
    font-weight: 700;
}

.apt-staff-row .apt-option-content {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.apt-option-title {
    font-size: 18px;
    line-height: 1.15;
    font-weight: 700;
    color: var(--apt-text-primary);
}

.apt-option-note {
    font-size: 13px;
    line-height: 1.3;
    color: var(--apt-text-secondary);
}

.apt-option-note--mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    letter-spacing: 0.02em;
    font-size: 12px;
}

.apt-extra-row {
    min-height: 78px;
    border-radius: 16px;
    padding: 12px 14px;
    gap: 12px;
}

.apt-extra-meta {
    flex: 1 1 auto;
    min-width: 0;
    gap: 4px;
}

.apt-extra-name {
    font-size: 18px;
    line-height: 1.15;
    font-weight: 700;
    color: var(--apt-text-primary);
}

.apt-extra-details {
    font-size: 13px;
}

.apt-extra-row input[type="checkbox"] {
    width: 22px;
    height: 22px;
    margin-left: auto;
    flex-shrink: 0;
}

.apt-select-indicator {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    border: 2px solid #cbd5e1;
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.apt-staff-row.active .apt-select-indicator {
    border-color: var(--apt-primary);
    background: var(--apt-primary);
}

.apt-staff-row.active .apt-select-indicator::after {
    content: '';
    position: absolute;
    inset: 5px;
    border-radius: 999px;
    background: #fff;
}

.apt-step-hint {
    margin-top: 20px;
    padding: 20px 18px;
    border: 1px dashed var(--apt-border);
    border-radius: 16px;
    text-align: center;
    color: var(--apt-text-secondary);
    background: #f9fafb;
    font-size: 18px;
    line-height: 1.45;
}

.apt-nav-footer {
    margin-top: 24px;
    padding: 18px 24px;
    border-top: 1px solid var(--apt-border);
    background: var(--apt-surface);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.apt-nav-footer .apt-btn {
    height: 48px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.apt-nav-footer [data-apt-prev] {
    max-width: 140px;
    border: 1px solid var(--apt-border);
    background: var(--apt-surface);
    color: var(--apt-text-secondary);
}

.apt-nav-footer [data-apt-next],
.apt-nav-footer [data-apt-confirm] {
    max-width: none;
    min-width: 180px;
    width: auto;
    background: var(--apt-primary);
    color: #fff;
    box-shadow: 0 16px 28px -20px rgba(34, 197, 94, 0.8);
}

.apt-nav-footer [data-apt-next]:hover,
.apt-nav-footer [data-apt-confirm]:hover {
    transform: translateY(-1px);
}

@media (max-width: 720px) {
    .apt-widget-shell {
        padding: 0;
    }

    .apt-widget-shell .apt-widget-card {
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        border-top: 0;
        max-width: 100%;
        min-height: 100vh;
        box-shadow: none;
    }

    .apt-mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        height: 64px;
        padding: 0 14px;
        border-bottom: 1px solid var(--apt-border);
        background: var(--apt-surface);
    }

    .apt-mobile-header__btn {
        width: 38px;
        height: 38px;
        border: 0;
        border-radius: 999px;
        background: transparent;
        color: #4b5563;
        font-size: 24px;
        line-height: 1;
        cursor: pointer;
    }

    .apt-mobile-header__title {
        font-size: 22px;
        font-weight: 700;
        color: var(--apt-text-primary);
    }

    .apt-stepper-wrap {
        display: none;
    }

    .apt-mobile-progress {
        display: block;
        padding: 16px 18px 10px;
        border-bottom: 1px solid var(--apt-border);
        background: var(--apt-surface);
    }

    .apt-mobile-progress__meta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 8px;
    }

    .apt-mobile-progress__step {
        font-size: 14px;
        font-weight: 700;
        color: var(--apt-primary);
    }

    .apt-mobile-progress__label {
        font-size: 16px;
        font-weight: 600;
        color: var(--apt-text-primary);
    }

    .apt-mobile-progress__track {
        height: 6px;
        border-radius: 999px;
        background: #e5e7eb;
        overflow: hidden;
    }

    .apt-mobile-progress__fill {
        display: block;
        height: 100%;
        width: 0;
        border-radius: 999px;
        background: var(--apt-primary);
        transition: width 0.2s ease;
    }

    .apt-step-content {
        padding: 18px 16px 20px;
    }

    .apt-panel-heading {
        font-size: clamp(34px, 8vw, 42px);
        margin-bottom: 10px;
    }

    .apt-panel-copy {
        margin-bottom: 20px;
        font-size: 16px;
        line-height: 1.4;
    }

    .apt-staff-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    [data-apt-services].apt-option-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .apt-staff-row {
        min-height: 86px;
        padding: 12px 14px;
        border-radius: 20px;
    }

    .apt-service-row {
        display: flex !important;
        min-height: 86px;
        padding: 12px 14px;
        border-radius: 20px;
    }

    .apt-service-row .apt-option-desc {
        margin-left: 60px;
    }

    [data-apt-services].apt-option-list .apt-service-row .apt-option-desc {
        margin-left: 0;
        padding-left: 60px;
    }

    [data-apt-services].apt-option-list.apt-services-has-selection .apt-service-row.active {
        min-height: 108px;
        padding: 14px 15px;
    }

    [data-apt-services].apt-option-list.apt-services-has-selection .apt-service-row.active .apt-option-title {
        font-size: 19px;
    }

    [data-apt-services].apt-option-list.apt-services-has-selection .apt-service-row.active .apt-option-meta,
    [data-apt-services].apt-option-list.apt-services-has-selection .apt-service-row.active .apt-option-desc.is-open {
        font-size: 14px;
    }

    .apt-extra-row {
        min-height: 86px;
        padding: 12px 14px;
        border-radius: 20px;
    }

    .apt-option-avatar {
        width: 48px;
        height: 48px;
    }

    .apt-service-row .apt-option-avatar,
    .apt-staff-row .apt-option-avatar,
    .apt-extra-row .apt-option-avatar {
        display: flex !important;
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        min-height: 48px !important;
        flex: 0 0 48px !important;
        overflow: hidden !important;
    }

    .apt-service-row .apt-option-avatar img,
    .apt-staff-row .apt-option-avatar img,
    .apt-extra-row .apt-option-avatar img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        object-fit: cover !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .apt-service-row .apt-option-avatar .apt-option-initial,
    .apt-staff-row .apt-option-avatar .apt-option-initial,
    .apt-extra-row .apt-option-avatar .apt-option-initial {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .apt-option-title {
        font-size: 17px;
    }

    .apt-option-note {
        font-size: 13px;
    }

    .apt-option-note--mono {
        font-size: 12px;
    }

    .apt-select-indicator {
        width: 22px;
        height: 22px;
    }

    .apt-step-hint {
        display: none;
    }

    .apt-nav-footer {
        padding: 14px 16px 16px;
        gap: 10px;
        position: sticky;
        bottom: 0;
        z-index: 20;
        display: flex;
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .apt-nav-footer .apt-btn {
        max-width: none;
        width: 100%;
        font-size: 17px;
    }

    .apt-nav-footer [data-apt-next],
    .apt-nav-footer [data-apt-confirm] {
        height: 56px;
        border-radius: 14px;
    }

    .apt-nav-footer [data-apt-prev] {
        height: auto;
        border: 0;
        background: transparent;
        color: #64748b;
        font-size: 16px;
        padding: 4px 0;
    }
}
