.wpac-reservation-shell {
    --wpac-theme-color: #2271b1;
    background: transparent;
    display: contents;
    margin: 0;
    border: 0;
    padding: 0;
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    color: #1b1e22;
}

.wpac-reservation-frame {
    position: relative;
    background: #c6a77d;
    border-radius: 4px;
    padding: 14px 16px 10px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.wpac-success-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(17, 24, 39, 0.72);
    backdrop-filter: blur(3px);
}

.wpac-success-dialog {
    width: min(560px, 100%);
    background: #fff;
    border-radius: 18px;
    padding: 32px 28px 28px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
    text-align: center;
}

.wpac-success-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--wpac-theme-color), #2f9e6f);
    color: #fff;
}

.wpac-success-badge .dashicons {
    width: 34px;
    height: 34px;
    font-size: 34px;
}

.wpac-success-dialog h3 {
    margin: 0 0 10px;
    font-size: 30px;
    line-height: 1.15;
    color: #111827;
}

.wpac-success-reference {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.wpac-success-meta {
    margin: 0 auto 22px;
    max-width: 420px;
    color: #4b5563;
    line-height: 1.6;
}

.wpac-success-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 10px;
    background: #111827;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.wpac-form-error-notice {
    margin: 16px 16px 0;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid #f0b7b7;
    background: #fff5f5;
    color: #8b1e1e;
    font-size: 14px;
    line-height: 1.5;
}

.wpac-auth-notice {
    margin: 16px 16px 0;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #a7d7b2;
    background: #eefbf1;
    color: #185e2c;
    font-size: 14px;
    line-height: 1.5;
}

.wpac-auth-notice.is-error {
    border-color: #f0b7b7;
    background: #fff5f5;
    color: #8b1e1e;
}

.wpac-success-home:hover {
    color: #fff;
    opacity: 0.92;
}

.wpac-topbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.wpac-topbar-left,
.wpac-topbar-right {
    position: relative;
}

.wpac-top-toggle,
.wpac-login-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 0;
    background: transparent;
    color: var(--wpac-theme-color);
    cursor: pointer;
    padding: 0;
    font: inherit;
}

.wpac-top-toggle {
    padding: 4px 8px;
    background: #fff;
    border-radius: 4px;
}

.wpac-top-toggle .dashicons,
.wpac-login-link .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.wpac-flyout {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    z-index: 20;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.wpac-flyout.is-open {
    display: block;
}

.wpac-menu-flyout {
    min-width: 160px;
    padding: 8px 10px;
}

.wpac-menu-flyout a {
    color: #333;
    text-decoration: none;
}

.wpac-login-flyout {
    right: 0;
    width: 250px;
    padding: 16px;
}

.wpac-login-flyout label {
    display: block;
    margin-bottom: 4px;
    font-weight: 700;
}

.wpac-login-flyout input {
    width: 100%;
    margin-bottom: 10px;
    padding: 7px 10px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    box-sizing: border-box;
}

.wpac-auth-form {
    margin: 0;
}

.wpac-auth-switcher .wpac-auth-pane {
    display: none;
}

.wpac-auth-switcher.is-login .wpac-auth-pane-login {
    display: block;
}

.wpac-auth-switcher.is-register .wpac-auth-pane-register {
    display: block;
}

.wpac-auth-userline {
    margin: 0 0 10px;
    font-size: 13px;
    color: #374151;
}

.wpac-register-divider {
    border-top: 1px solid #e5e7eb;
    margin: 10px 0 12px;
}

.wpac-register-title {
    margin: 0 0 8px;
    font-weight: 700;
    color: #1f2937;
}

.wpac-login-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.wpac-login-actions button {
    border: 0;
    border-radius: 4px;
    background: var(--wpac-theme-color);
    color: #fff;
    padding: 8px 18px;
    cursor: pointer;
}

.wpac-login-actions a {
    color: #2e74b7;
    text-decoration: none;
}

.wpac-auth-switch-link {
    border: 0;
    padding: 0;
    background: transparent;
    color: #2e74b7;
    text-decoration: none;
    cursor: pointer;
    font: inherit;
}

.wpac-auth-switch-link:hover {
    text-decoration: underline;
}

.wpac-auth-switch-back {
    margin: 10px 0 0;
    text-align: left;
}

.wpac-reservation-head {
    margin-bottom: 22px;
}

.wpac-reservation-head h2 {
    margin: 0 0 4px;
    font-size: 28px;
    line-height: 1.25;
    padding-bottom: 2px;
}

.wpac-reservation-head p {
    margin: 0 0 12px;
    font-style: italic;
    max-width: 540px;
    line-height: 1.6;
    padding-bottom: 0;
}

.wpac-stepper {
    margin: 8px 0 22px;
    padding-top: 10px;
}

.wpac-stepper-line {
    position: relative;
    height: 6px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 999px;
}

.wpac-stepper-progress {
    position: absolute;
    inset: 0 auto 0 0;
    width: 33.333%;
    background: var(--wpac-theme-color);
    border-radius: 999px;
}

.wpac-reservation-shell.is-step-2 .wpac-stepper-progress {
    width: 66.666%;
}

.wpac-reservation-shell.is-step-3 .wpac-stepper-progress {
    width: 100%;
}

.wpac-step-panel {
    display: none;
}

.wpac-step-panel.is-active {
    display: block;
}

.wpac-stepper-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: -9px;
}

.wpac-stepper-item {
    text-align: center;
}

.wpac-step-index {
    display: inline-flex;
    width: 26px;
    height: 26px;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: #7d7d7d;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
}

.wpac-stepper-item.is-active .wpac-step-index {
    background: var(--wpac-theme-color);
}

.wpac-step-label {
    display: block;
    margin-top: 8px;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.4;
    padding-bottom: 2px;
}

.wpac-booking-form-clone {
    display: block;
}

.wpac-stage-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 1fr);
    gap: 18px;
    align-items: start;
}

.wpac-stage-left,
.wpac-stage-right {
    min-width: 0;
}

.wpac-row {
    display: grid;
    gap: 18px;
}

.wpac-row-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wpac-form-block {
    margin-bottom: 12px;
}

.wpac-service-section {
    display: none;
}

.wpac-service-section.is-active {
    display: block;
}

.wpac-form-block label,
.wpac-form-caption {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.02em;
}

.wpac-control-wrap {
    position: relative;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.wpac-control-wrap.has-geoapify-suggestions {
    overflow: visible;
}

.wpac-control-wrap input,
.wpac-control-wrap select {
    width: 100%;
    min-height: 40px;
    height: auto;
    padding: 8px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 3px;
    background: #fff;
    box-sizing: border-box;
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    font-size: 17px;
    font-weight: 400;
    color: #333;
    line-height: 1.4;
}

.wpac-control-wrap select {
    appearance: none;
    text-align: center;
    padding-top: 8px;
    padding-bottom: 8px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wpac-control-wrap select option {
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.4;
}

.wpac-control-wrap.has-icon input {
    padding-right: 38px;
}

.wpac-control-wrap.has-leading-icon select {
    padding-left: 36px;
}

.wpac-input-icon,
.wpac-leading-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #444;
    pointer-events: none;
}

.wpac-input-icon {
    right: 10px;
}

.wpac-leading-icon {
    left: 10px;
}

.wpac-input-icon.dashicons,
.wpac-leading-icon.dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.wpac-geoapify-suggestions {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 30;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: 240px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
}

.wpac-geoapify-suggestion {
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-bottom: 1px solid #ececec;
    background: #fff;
    color: #333;
    text-align: left;
    cursor: pointer;
    font: inherit;
}

.wpac-geoapify-suggestion:last-child {
    border-bottom: 0;
}

.wpac-geoapify-suggestion:hover,
.wpac-geoapify-suggestion.is-active {
    background: #f5f7fa;
    color: #111;
}

#wpac-pickup-date-display {
    cursor: pointer;
    caret-color: transparent;
}

#wpac-pickup-time {
    -webkit-appearance: none;
    appearance: none;
    -moz-appearance: textfield;
}

#wpac-pickup-time::-webkit-calendar-picker-indicator,
#wpac-pickup-time::-webkit-clear-button,
#wpac-pickup-time::-webkit-inner-spin-button {
    display: none;
    -webkit-appearance: none;
    opacity: 0;
}

.ui-datepicker.wpac-datepicker-theme {
    z-index: 9999 !important;
    width: min(300px, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
    box-sizing: border-box;
    padding: 0;
    border: 1px solid #c8c8c8;
    border-radius: 4px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
    background: #f5f5f5;
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    overflow: hidden;
}

.ui-datepicker.wpac-datepicker-theme .ui-datepicker-header {
    position: relative;
    padding: 8px 32px 7px;
    border: 0;
    border-bottom: 1px solid #d8d8d8;
    border-radius: 4px 4px 0 0;
    background: #f5f5f5;
}

.ui-datepicker.wpac-datepicker-theme .ui-datepicker-title {
    margin: 0;
    text-align: center;
    font-size: 17px;
    line-height: 1.25;
    color: #c49b67;
    font-weight: 700;
}

.ui-datepicker.wpac-datepicker-theme .ui-datepicker-prev,
.ui-datepicker.wpac-datepicker-theme .ui-datepicker-next {
    position: absolute;
    top: 7px;
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 2px;
    background: transparent;
    cursor: pointer;
}

.ui-datepicker.wpac-datepicker-theme .ui-datepicker-prev {
    left: 6px;
}

.ui-datepicker.wpac-datepicker-theme .ui-datepicker-next {
    right: 6px;
}

.ui-datepicker.wpac-datepicker-theme .ui-datepicker-prev span,
.ui-datepicker.wpac-datepicker-theme .ui-datepicker-next span {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin: 0;
    background: none;
    text-indent: 0;
    overflow: visible;
    font-size: 0;
    line-height: 1;
    color: transparent;
}

.ui-datepicker.wpac-datepicker-theme .ui-datepicker-prev span::before,
.ui-datepicker.wpac-datepicker-theme .ui-datepicker-next span::before {
    display: block;
    font-size: 20px;
    line-height: 1;
    color: #444;
}

.ui-datepicker.wpac-datepicker-theme .ui-datepicker-prev span::before {
    content: "\2039";
}

.ui-datepicker.wpac-datepicker-theme .ui-datepicker-next span::before {
    content: "\203A";
}

.ui-datepicker.wpac-datepicker-theme .ui-datepicker-calendar {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    table-layout: fixed;
    font-size: 13px;
}

.ui-datepicker.wpac-datepicker-theme .ui-datepicker-calendar thead th {
    padding: 5px 0 4px;
    text-align: center;
    font-size: 12px;
    color: #2e2e2e;
    font-weight: 700;
}

.ui-datepicker.wpac-datepicker-theme .ui-datepicker-week-col {
    width: 22px;
    color: #4b5563;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
}

.ui-datepicker.wpac-datepicker-theme .ui-datepicker-calendar tbody td {
    padding: 0;
    border: 1px solid #cfcfcf;
    background: #fff;
}

.ui-datepicker.wpac-datepicker-theme .ui-datepicker-calendar td a,
.ui-datepicker.wpac-datepicker-theme .ui-datepicker-calendar td span {
    display: block;
    width: 100%;
    min-height: 28px;
    line-height: 28px;
    text-align: center;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    color: #333;
    text-decoration: none;
    font-weight: 400;
}

.ui-datepicker.wpac-datepicker-theme .ui-datepicker-calendar td.ui-datepicker-other-month span {
    color: #9a9a9a;
}

.ui-datepicker.wpac-datepicker-theme .ui-datepicker-calendar td a:hover {
    background: #e9f4fb;
}

.ui-datepicker.wpac-datepicker-theme .ui-datepicker-calendar td.ui-datepicker-current-day a {
    background: #31b0d5;
    color: #fff;
}

.ui-datepicker.wpac-datepicker-theme .ui-datepicker-calendar td.ui-datepicker-today:not(.ui-datepicker-current-day) a {
    background: #f5fbff;
    color: #1f6f8a;
}

.ui-datepicker.wpac-datepicker-theme .ui-datepicker-buttonpane {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 7px 6px 6px;
    border-top: 0;
    background: #f5f5f5;
}

.ui-datepicker.wpac-datepicker-theme .ui-datepicker-buttonpane button {
    margin: 0;
    border: 0;
    border-radius: 3px;
    min-height: 27px;
    padding: 0 11px;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
    box-shadow: none;
    outline: 0;
}

.ui-datepicker.wpac-datepicker-theme .ui-datepicker-buttonpane .ui-datepicker-current {
    background: #31b0d5;
    color: #fff;
}

.ui-datepicker.wpac-datepicker-theme .ui-datepicker-buttonpane .wpac-datepicker-clear {
    background: #d9534f;
    color: #fff;
}

.ui-datepicker.wpac-datepicker-theme .ui-datepicker-buttonpane .ui-datepicker-close {
    margin-left: auto;
    background: #000;
    color: #fff;
}

.ui-datepicker.wpac-datepicker-theme .ui-state-disabled {
    opacity: 1;
}

.ui-datepicker.wpac-datepicker-theme .ui-state-disabled span {
    color: #b8b8b8;
}

.wpac-stops-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.wpac-stop-actions {
    display: flex;
    gap: 6px;
}

.wpac-stop-add,
.wpac-stop-remove {
    border: 0;
    color: #fff;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 3px;
    cursor: pointer;
}

.wpac-stop-add {
    background: #2d7cc4;
}

.wpac-stop-remove {
    background: #d9534f;
}

.wpac-stop-item {
    margin-bottom: 8px;
}

.wpac-airport-meta-row {
    margin-top: 0;
}

.wpac-primary-submit {
    width: 100%;
    min-height: 38px;
    height: auto;
    padding: 8px 14px;
    border: 0;
    border-radius: 3px;
    background: #000;
    color: #fff;
    font: inherit;
    cursor: pointer;
    line-height: 1.35;
}

.wpac-vehicle-stage-head h3 {
    margin: 20px 0 24px;
    font-size: 28px;
    font-weight: 400;
}

.wpac-vehicle-header,
.wpac-vehicle-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px 260px;
    column-gap: 18px;
    align-items: center;
}

.wpac-vehicle-header {
    color: #fff;
    margin-bottom: 16px;
    padding: 0 16px;
    font-size: 14px;
}

.wpac-vehicle-header div:first-child {
    color: #000;
    font-weight: 700;
}

.wpac-vehicle-list {
    border-top: 1px solid rgba(255, 255, 255, 0.85);
}

.wpac-vehicle-row {
    min-height: 182px;
    padding: 0 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.85);
}

.wpac-vehicle-row.is-selected {
    background: rgba(255, 255, 255, 0.08);
}

.wpac-vehicle-summary {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
}

.wpac-vehicle-image {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 140px;
}

.wpac-vehicle-image img {
    display: block;
    max-width: 100%;
    max-height: 130px;
}

.wpac-vehicle-copy h4 {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.2;
}

.wpac-vehicle-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}

.wpac-vehicle-meta .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.wpac-vehicle-rate {
    color: #fff;
    text-align: center;
    font-size: 18px;
}

.wpac-vehicle-rate-value {
    display: block;
}

.wpac-vehicle-rate-note {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
}

.wpac-vehicle-actions {
    display: flex;
    justify-content: flex-end;
}

.wpac-vehicle-choose {
    width: 100%;
    max-width: 282px;
    min-height: 38px;
    height: auto;
    padding: 8px 14px;
    border: 0;
    border-radius: 3px;
    background: #000;
    color: #fff;
    font: inherit;
    cursor: pointer;
    line-height: 1.35;
}

.wpac-vehicle-stage-footer {
    padding: 20px 16px 0;
}

.wpac-step-back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 308px;
    min-height: 38px;
    height: auto;
    padding: 8px 14px;
    justify-content: center;
    border: 0;
    border-radius: 3px;
    background: #2d7cc4;
    color: #fff;
    font: inherit;
    cursor: pointer;
    line-height: 1.35;
}

.wpac-confirm-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
    gap: 30px;
    align-items: start;
}

.wpac-confirm-section {
    margin-bottom: 28px;
}

.wpac-confirm-section h3 {
    margin: 0 0 22px;
    font-size: 28px;
    font-weight: 400;
}

.wpac-summary-card {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.wpac-summary-image {
    min-height: 170px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.wpac-summary-image img {
    display: block;
    max-width: 100%;
    max-height: 170px;
}

.wpac-summary-title {
    max-width: 620px;
    margin-top: 8px;
    font-size: 26px;
    line-height: 1.15;
    font-weight: 700;
}

.wpac-summary-meta {
    display: flex;
    gap: 14px;
    margin: 18px 0 10px;
    font-size: 15px;
}

.wpac-summary-meta .dashicons,
.wpac-summary-route-item .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.wpac-summary-route {
    position: relative;
    padding-left: 14px;
}

.wpac-summary-route::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 4px;
    bottom: 4px;
    width: 2px;
    background: rgba(255, 255, 255, 0.7);
}

.wpac-summary-route-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 15px;
}

.wpac-summary-route-item.is-pickup .dashicons {
    color: #43ad45;
}

.wpac-summary-route-item.is-dropoff .dashicons {
    color: #ff0000;
}

.wpac-summary-pricing {
    max-width: 420px;
    margin-top: 18px;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 4px;
    padding: 12px 14px;
}

.wpac-summary-pricing-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 5px 0;
    font-size: 14px;
}

.wpac-summary-pricing-row strong {
    font-weight: 700;
}

.wpac-summary-pricing-row.is-total {
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    font-size: 16px;
}

.wpac-quote-request-table {
    border-radius: 3px;
    overflow: hidden;
}

.wpac-quote-request-row + .wpac-quote-request-row {
    margin-top: 1px;
}

.wpac-quote-request-row select {
    width: 100%;
    min-height: 38px;
    height: auto;
    border: 0;
    padding: 8px 12px;
    background: #fff;
    font: inherit;
    text-align: center;
    appearance: none;
    line-height: 1.35;
}

.wpac-confirm-actions {
    padding-top: 118px;
}

.wpac-step-back-to-vehicles {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    max-width: 455px;
    min-height: 38px;
    height: auto;
    padding: 8px 14px;
    border: 0;
    border-radius: 3px;
    background: #2d7cc4;
    color: #fff;
    font: inherit;
    cursor: pointer;
    line-height: 1.35;
}

.wpac-confirm-payment-row {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 1fr);
    gap: 30px;
}

.wpac-payment-methods {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0 0 16px;
}

.wpac-payment-method-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
}

.wpac-payment-method-option input[type="radio"] {
    margin: 0;
}

.wpac-card-payment-fields[hidden] {
    display: none !important;
}

.wpac-card-payment-fields {
    display: block;
}

.wpac-square-card-frame {
    max-width: 454px;
    padding: 14px 14px 10px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    background: #fff;
    box-sizing: border-box;
}

.wpac-square-card-container {
    min-height: 82px;
}

.wpac-square-payment-note {
    max-width: 454px;
    margin-top: 8px;
}

.wpac-expiration-fields {
    display: flex;
    gap: 0;
}

.wpac-expiration-fields select {
    width: auto;
    min-width: 72px;
    min-height: 38px;
    height: auto;
    border: 1px solid #d9d9d9;
    border-radius: 3px;
    background: #fff;
    padding: 8px 12px;
    font: inherit;
    line-height: 1.35;
}

.wpac-expiration-fields select + select {
    margin-left: 1px;
}

.wpac-billing-zip {
    max-width: 438px;
}

.wpac-terms-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin: 4px 0 18px;
    font-size: 13px;
    font-style: italic;
}

.wpac-terms-row a {
    color: #ff0000;
    text-decoration: none;
}

.wpac-final-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 454px;
    margin-left: auto;
}

.wpac-map-shell {
    position: relative;
}

.wpac-map-tabs {
    position: absolute;
    top: 6px;
    left: 8px;
    z-index: 3;
    display: flex;
}

.wpac-map-tabs button {
    border: 0;
    background: rgba(255, 255, 255, 0.96);
    padding: 10px 18px;
    cursor: pointer;
    font: inherit;
    font-size: 18px;
}

.wpac-map-tabs button.is-active {
    font-weight: 700;
}

.wpac-map-board {
    position: relative;
    min-height: 455px;
    border: 8px solid rgba(255, 255, 255, 0.18);
    background: #d5d5d5;
    overflow: hidden;
}

.wpac-google-map-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.wpac-map-control {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 3px;
}

.wpac-map-control-top-right {
    top: 14px;
    right: 10px;
}

.wpac-map-control-mid-right {
    right: 14px;
    bottom: 90px;
    border-radius: 50%;
}

.wpac-map-watermark {
    position: absolute;
    left: 10px;
    bottom: 16px;
    font-size: 30px;
    color: rgba(60, 60, 60, 0.85);
    font-weight: 700;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
    z-index: 2;
}

.wpac-map-attribution {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    max-width: 70%;
    font-size: 10px;
    color: #222;
    z-index: 2;
}

.wpac-reservation-footer {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 10px;
    color: #000;
    font-size: 11px;
}

.wpac-reservation-footer a {
    color: #000;
    text-decoration: none;
}

.wpac-notice {
    margin: 0 0 16px;
    padding: 16px 18px;
    border-radius: 6px;
    font-size: 15px;
    line-height: 1.5;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.wpac-notice-success {
    background: #edf8f0;
    border: 1px solid #b7e1c2;
    color: #1a5a2b;
}

.wpac-notice strong {
    display: block;
    margin-bottom: 4px;
    font-size: 17px;
}

.wpac-notice-meta {
    margin-top: 6px;
    opacity: 0.9;
}

@media (max-width: 1100px) {
    .wpac-stage-grid {
        grid-template-columns: 1fr;
    }

    .wpac-map-board {
        min-height: 340px;
    }

    .wpac-vehicle-header,
    .wpac-vehicle-row {
        grid-template-columns: minmax(0, 1fr) 180px 220px;
    }

    .wpac-vehicle-summary {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .wpac-confirm-grid {
        grid-template-columns: 1fr;
    }

    .wpac-confirm-actions {
        padding-top: 0;
    }

    .wpac-confirm-right,
    .wpac-confirm-left {
        min-width: 0;
    }
}

@media (max-width: 767px) {
    .wpac-reservation-shell {
        padding: 0;
    }

    .wpac-reservation-frame {
        padding: 12px 12px 16px;
        border-radius: 0;
    }

    .wpac-success-overlay {
        padding: 16px;
    }

    .wpac-success-dialog {
        padding: 26px 20px 22px;
    }

    .wpac-success-dialog h3 {
        font-size: 24px;
    }

    .wpac-success-reference {
        font-size: 16px;
    }

    .wpac-reservation-head {
        margin-bottom: 18px;
    }

    .wpac-reservation-head h2 {
        font-size: 24px;
    }

    .wpac-reservation-head p {
        font-size: 13px;
        line-height: 1.5;
        max-width: none;
        margin-bottom: 11px;
    }

    .wpac-row-2 {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .wpac-control-wrap select {
        font-size: 16px;
        line-height: 1.35;
    }

    #wpac-pickup-airport-menu,
    #wpac-dropoff-airport-menu {
        width: calc(100vw - 20px) !important;
        max-width: calc(100vw - 20px) !important;
        box-sizing: border-box;
        left: 10px !important;
        right: 10px !important;
    }

    #wpac-pickup-airport-menu .ui-menu,
    #wpac-dropoff-airport-menu .ui-menu {
        max-height: 48vh;
        overflow-y: auto;
        overflow-x: hidden;
    }

    #wpac-pickup-airport-menu .ui-menu-item-wrapper,
    #wpac-dropoff-airport-menu .ui-menu-item-wrapper {
        white-space: normal;
        word-break: break-word;
    }

    .wpac-stepper-items {
        gap: 8px;
        margin-top: -8px;
    }

    .wpac-step-label {
        font-size: 11px;
        line-height: 1.35;
    }

    .wpac-topbar,
    .wpac-stops-head,
    .wpac-reservation-footer {
        display: grid;
        gap: 10px;
        justify-content: stretch;
    }

    .wpac-top-toggle,
    .wpac-login-link {
        min-height: 36px;
    }

    .wpac-topbar-right {
        justify-self: end;
    }

    .wpac-stops-head {
        align-items: stretch;
    }

    .wpac-stop-actions {
        width: 100%;
    }

    .wpac-stop-add,
    .wpac-stop-remove {
        flex: 1 1 0;
        min-height: 34px;
    }

    .wpac-login-flyout {
        right: 0;
        width: min(220px, calc(100vw - 36px));
    }

    .wpac-map-tabs button {
        padding: 8px 14px;
        font-size: 16px;
    }

    .wpac-map-board {
        min-height: 280px;
    }

    .wpac-map-attribution {
        max-width: 90%;
        gap: 6px;
    }

    .wpac-vehicle-header {
        display: none;
    }

    .wpac-vehicle-row,
    .wpac-vehicle-summary {
        grid-template-columns: 1fr;
    }

    .wpac-vehicle-row {
        padding: 18px 12px;
        gap: 14px;
    }

    .wpac-vehicle-image {
        justify-content: center;
        min-height: 120px;
    }

    .wpac-vehicle-copy,
    .wpac-vehicle-rate,
    .wpac-vehicle-actions {
        width: 100%;
    }

    .wpac-vehicle-copy h4 {
        font-size: 22px;
    }

    .wpac-vehicle-rate,
    .wpac-vehicle-actions {
        justify-content: flex-start;
        text-align: left;
    }

    .wpac-vehicle-choose {
        max-width: none;
    }

    .wpac-step-back,
    .wpac-step-back-to-vehicles,
    .wpac-final-submit {
        min-width: 0;
        width: 100%;
        max-width: none;
    }

    .wpac-summary-card,
    .wpac-confirm-payment-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .wpac-summary-image {
        min-height: 120px;
        justify-content: center;
    }

    .wpac-payment-methods {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .wpac-summary-title {
        font-size: 22px;
    }

    .wpac-summary-pricing {
        max-width: none;
    }

    .wpac-summary-pricing-row {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .wpac-quote-request-row select,
    .wpac-expiration-fields select,
    .wpac-billing-zip,
    .wpac-final-submit,
    .wpac-step-back-to-vehicles {
        max-width: none;
    }

    .wpac-expiration-fields {
        gap: 8px;
    }

    .wpac-expiration-fields select {
        flex: 1 1 0;
        width: 100%;
    }

    .wpac-terms-row {
        justify-content: flex-start;
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .wpac-reservation-footer {
        text-align: center;
    }
}

@media (max-width: 520px) {
    .wpac-reservation-frame {
        padding: 10px 10px 14px;
    }

    .wpac-stepper {
        margin-top: 10px;
        padding-top: 12px;
    }

    .wpac-stepper-items {
        gap: 4px;
        margin-top: -7px;
    }

    .wpac-stepper-line {
        height: 5px;
    }

    .wpac-step-index {
        width: 24px;
        height: 24px;
        font-size: 13px;
    }

    .wpac-step-label {
        margin-top: 6px;
        font-size: 10px;
    }

    .wpac-control-wrap input,
    .wpac-control-wrap select,
    .wpac-primary-submit {
        min-height: 40px;
        height: 40px;
    }

    .wpac-control-wrap select {
        font-size: 15px;
    }

    .wpac-control-wrap.has-leading-icon select {
        padding-left: 34px;
    }

    .wpac-map-board {
        min-height: 240px;
        border-width: 6px;
    }

    .wpac-map-tabs {
        top: 4px;
        left: 4px;
    }

    .wpac-map-tabs button {
        padding: 7px 11px;
        font-size: 14px;
    }

    .wpac-map-control {
        width: 34px;
        height: 34px;
    }

    .wpac-map-watermark {
        font-size: 24px;
    }

    .wpac-map-attribution {
        max-width: calc(100% - 20px);
        right: 6px;
        bottom: 6px;
        gap: 4px;
        font-size: 9px;
    }

    .wpac-summary-meta {
        flex-wrap: wrap;
        gap: 8px 12px;
    }

    .wpac-summary-title {
        font-size: 20px;
        line-height: 1.3;
    }

    .wpac-login-flyout {
        width: min(220px, calc(100vw - 28px));
    }

    .ui-datepicker.wpac-datepicker-theme {
        width: min(300px, calc(100vw - 16px));
        max-width: calc(100vw - 16px);
    }

    .ui-datepicker.wpac-datepicker-theme .ui-datepicker-title {
        font-size: 16px;
    }

    .ui-datepicker.wpac-datepicker-theme .ui-datepicker-week-col {
        font-size: 11px;
        width: 18px;
    }

    .ui-datepicker.wpac-datepicker-theme .ui-datepicker-calendar td a,
    .ui-datepicker.wpac-datepicker-theme .ui-datepicker-calendar td span {
        min-height: 27px;
        line-height: 27px;
    }
}
