/* Fix: theme's global button:hover sets color:#fff, making text invisible on white-bg buttons */
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.button:hover {
	color: inherit;
	box-shadow: none;
}

/* Override WooCommerce notice styles */
.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
	background-color: var(--bpn-theme-background-white);
	color: var(--bpn-theme-text-primary);
	border-top-color: var(--bpn-theme-primary);
}

.woocommerce-info {
	border-top-color: var(--bpn-theme-primary);
}

/* Override WooCommerce default CSS variables */
:root {
	--wc-primary: var(--bpn-theme-primary);
	--woocommerce: var(--bpn-theme-primary);
	--wc-highlight: var(--bpn-theme-primary);
	--wc-form-border-color: var(--bpn-theme-border-secondary);
	--wc-form-border-radius: 2px;
}

.parking_reservation_wrapper .col-left .results-cta {
	justify-content: flex-start;
}

.woocommerce-checkout {
	background: var(--bpn-theme-background-light-gray);
}

.woocommerce-checkout main {
	padding-top: 5rem;
	padding-bottom: 5rem;
}

.woocommerce-checkout .woocommerce {
	max-width: 1440px !important;
	margin: 0 auto;
	/*padding: 0 170px;*/
}

.woocommerce-checkout main h1,
.woocommerce-checkout main h2,
.woocommerce-checkout main h3 {
	font-weight: 600;
	color: var(--bpn-theme-text-primary);
}

.woocommerce-checkout main h1 {
	font-size: 22px;
}



.woocommerce-checkout main #form-lot-checkout label,
.woocommerce-checkout main form p {
	font-family: 'Instrument Sans', sans-serif;
	color: #434343;
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
	letter-spacing: 0.002em;
}

/* Required asterisk — visible red, no abbr underline */
.woocommerce-checkout main #form-lot-checkout label abbr.required,
.woocommerce-checkout main #form-lot-checkout label span.required,
.woocommerce-account .woocommerce label abbr.required,
.woocommerce-account .woocommerce label span.required,
.woocommerce-page label abbr.required,
.woocommerce-page label span.required {
	color: #c0392b;
	text-decoration: none;
	border-bottom: none;
}

.woocommerce-checkout main #form-lot-checkout input,
.woocommerce-checkout main #form-lot-checkout select {
	font-family: 'Instrument Sans', sans-serif;
	background: var(--bpn-theme-background-white);
	border: 1px solid var(--bpn-theme-border-secondary);
	border-radius: 2px;
	color: var(--bpn-theme-text-primary);
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	letter-spacing: 0.002em;
	height: 48px;
	padding: 8px 16px;
	box-sizing: border-box;
	transition: all 0.3s ease;
}

/* Select2 Dropdown Styling - Match Input Height */
.woocommerce-checkout main #form-lot-checkout .select2-container {
	width: 100% !important;
}

.woocommerce-checkout main #form-lot-checkout .select2-container .select2-selection--single {
	font-family: 'Instrument Sans', sans-serif;
	background: #FFFFFF;
	border: 1px solid #E8E8E8;
	border-radius: 6px;
	height: 48px;
	padding: 0;
	box-sizing: border-box;
	transition: all 0.3s ease;
}

.woocommerce-checkout main #form-lot-checkout .select2-container .select2-selection--single .select2-selection__rendered {
	font-family: 'Instrument Sans', sans-serif;
	color: var(--bpn-theme-text-primary);
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	letter-spacing: 0.002em;
	padding: 14px 16px !important;
	box-sizing: border-box;
}

.woocommerce-checkout main #form-lot-checkout .select2-container .select2-selection--single .select2-selection__arrow {
	height: 46px;
}

.woocommerce-checkout main #form-lot-checkout .select2-container .select2-selection--single:focus,
.woocommerce-checkout main #form-lot-checkout .select2-container.select2-container--open .select2-selection--single {
	border-color: var(--bpn-theme-primary);
	outline: none;
	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

/* Select2 Dropdown Results */
.select2-container--default .select2-results>.select2-results__options {
	font-family: 'Instrument Sans', sans-serif;
	max-height: 300px;
}

.select2-container--default .select2-results__option {
	font-family: 'Instrument Sans', sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	padding: 12px 16px;
	color: var(--bpn-theme-text-primary);
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted {
	background-color: var(--bpn-theme-text-primary) !important;
	color: #ffffff !important;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
	background-color: var(--bpn-theme-primary) !important;
	color: var(--bpn-theme-background-white) !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
	font-family: 'Instrument Sans', sans-serif;
	font-size: 14px;
	padding: 8px 12px;
	border: 1px solid #E8E8E8;
	border-radius: 6px;
}

.select2-dropdown {
	border: 1px solid #E8E8E8;
	border-radius: 6px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.bpn-color-container .select2-selection__rendered {
	display: flex !important;
	align-items: center;
	gap: 8px;
}

.bpn-color-option {
	display: flex;
	align-items: center;
	gap: 8px;
}

.bpn-color-swatch {
	display: inline-block;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	flex-shrink: 0;
}

.woocommerce-checkout main #form-lot-checkout input::placeholder,
.woocommerce-checkout main #form-lot-checkout select::placeholder {
	color: #777777;
}

.woocommerce-checkout main #form-lot-checkout input:focus,
.woocommerce-checkout main #form-lot-checkout select:focus {
	border-color: var(--bpn-theme-primary);
	outline: none;
	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
	transform: translateY(-1px);
}

.woocommerce-checkout main #form-lot-checkout input.error,
.woocommerce-checkout main #form-lot-checkout select.error {
	border-color: #C63C3C;
}

/* Error messages */
.form-row .error-message {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	margin-top: 8px;
}

.form-row .error-message .error-icon {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.form-row .error-message span {
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 500;
	font-size: 12px;
	line-height: 15px;
	color: #C63C3C;
}

/* Terms & Conditions Error State */
.woocommerce-terms-and-conditions-wrapper.hasError input[type="checkbox"],
.secure-checkout-conditions-input-selection.hasError input[type="checkbox"],
input[type="checkbox"]#terms.hasError,
input[type="checkbox"]#custom_terms.hasError {
	border-color: #C63C3C !important;
	box-shadow: 0 0 0 3px rgba(198, 60, 60, 0.2) !important;
	animation: shake 0.4s ease;
}

/* General field error styles */
.field-error {
	margin-top: 8px;
	display: flex;
	align-items: flex-start;
	gap: 6px;
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 500;
	font-size: 12px;
	line-height: 15px;
	color: #C63C3C;
}

.field-error .error-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	background: #C63C3C;
	color: #fff;
	border-radius: 50%;
	font-size: 12px;
	font-weight: bold;
	flex-shrink: 0;
}

/* Error state for inputs and selects */
input.hasError,
select.hasError,
.woocommerce-invalid input,
.woocommerce-invalid select {
	border-color: #C63C3C !important;
	box-shadow: 0 0 0 3px rgba(198, 60, 60, 0.1) !important;
}

.woocommerce-terms-and-conditions-wrapper.hasError label,
.woocommerce-terms-and-conditions-wrapper.hasError label p,
.woocommerce-terms-and-conditions-wrapper.hasError label a,
.secure-checkout-conditions-input-selection.hasError label,
.secure-checkout-conditions-input-selection.hasError label p,
.secure-checkout-conditions-input-selection.hasError label a {
	color: #C63C3C !important;
}

.woocommerce-terms-and-conditions-wrapper .field-error,
.secure-checkout-conditions-input-selection .field-error {
	margin-top: 8px;
	display: flex;
	align-items: flex-start;
	gap: 6px;
}

.woocommerce-terms-and-conditions-wrapper .field-error .error-icon,
.secure-checkout-conditions-input-selection .field-error .error-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	background: #C63C3C;
	color: #fff;
	border-radius: 50%;
	font-size: 12px;
	font-weight: bold;
	flex-shrink: 0;
}

.woocommerce-terms-and-conditions-wrapper .field-error span,
.secure-checkout-conditions-input-selection .field-error span {
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 500;
	font-size: 12px;
	line-height: 15px;
	color: #C63C3C;
}

/* Shake animation for error emphasis */
@keyframes shake {

	0%,
	100% {
		transform: translateX(0);
	}

	25% {
		transform: translateX(-8px);
	}

	75% {
		transform: translateX(8px);
	}
}

.woocommerce-checkout main #form-lot-checkout .dashicons {
	color: #5F6368;
}

.woocommerce #form-lot-checkout .form-row {
	margin: 0 0 16px !important;
}

/* Two column layout for payment fields */
.payment-fields-row {
	display: flex;
	gap: 16px;
	width: 100%;
}

.payment-fields-row .form-row {
	flex: 1;
	margin: 0 !important;
}

.woocommerce-checkout.custom-checkout-container h3 {
	font-size: 16px;
	font-weight: 600;
	text-transform: none;
}

/* Título principal Checkout */
.checkout-page-title {
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 600;
	font-size: 22px;
	line-height: 20px;
	letter-spacing: 0.002em;
	color: var(--bpn-theme-text-primary);
	margin-bottom: 24px;
}

/* Contenedor principal en dos columnas */
.custom-checkout-container {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	margin: 0 auto;
}

.custom-checkout-container>.woocommerce-info,
.custom-checkout-container>.woocommerce-NoticeGroup,
.custom-checkout-container>.woocommerce-NoticeGroup-checkout,
.custom-checkout-container>.woocommerce-NoticeGroup-updateOrderReview,
.custom-checkout-container>.woocommerce-error,
.custom-checkout-container>.woocommerce-message {
	flex: 0 0 100%;
	width: 100%;
	margin-bottom: 0;
}

.custom-checkout-container hr,
.parking-ticket-wrapper hr {
	color: var(--bpn-theme-border-secondary);
	margin: 18px 0;
}

.parking-ticket-wrapper hr {
	margin: 1px 0;
}

/* Columna izquierda (Formulario) */
.checkout-main-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	/*gap: 24px;*/
}

.woocommerce-billing-fields_information {
	margin-bottom: 0;
}

#customer_details {
	/* Container for billing fields - no styling needed, children have card styling */
	background: none;
	border: none;
	padding: 0;
	margin: 0;
	/*display: flex;*/
	flex-direction: column;
}

/* Columna derecha (Sidebar) */
.checkout-sidebar {
	flex: 0 0 415px;
	position: sticky;
	top: 20px;
	align-self: flex-start;
}

.checkout-sidebar .booking-summary-card {
	display: flex;
	flex-direction: column;
	gap: 20px;
	position: relative;
}

.checkout-sidebar .booking-summary-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--bpn-theme-primary);
	border-radius: 6px 6px 0 0;
	opacity: 0;
	animation: slideInTop 0.6s ease 0.5s forwards;
}

@keyframes slideInTop {
	from {
		opacity: 0;
		transform: translateX(-100%);
	}

	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.checkout-sidebar .booking-summary-card h3,
.checkout-sidebar .booking-summary-card #order_review_heading {
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 600;
	font-size: 16px;
	line-height: 20px;
	letter-spacing: 0.002em;
	color: var(--bpn-theme-text-primary);
	margin: 0;
}

.checkout-sidebar .selection-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.checkout-sidebar .selection-header>span {
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 600;
	font-size: 14px;
	line-height: 15px;
	color: #000000;
}

.checkout-sidebar .selection-header .edit-button {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 6px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0;
}

.checkout-sidebar .selection-header .edit-button .edit-icon {
	width: 20px;
	height: 20px;
}

.checkout-sidebar .selection-header .edit-button span {
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 500;
	font-size: 12px;
	line-height: 15px;
	color: #434343;
}

.checkout-sidebar .selection-header .edit-button:hover {
	animation: none;
}

.checkout-sidebar .selection-header .edit-button:hover .edit-icon {
	transform: rotate(-10deg);
	transition: transform 0.3s ease;
}

.checkout-sidebar .selection-header .edit-button:hover span {
	text-decoration: underline;
}

/* Start Time / End Time rows */
.checkout-sidebar .selection-row {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.checkout-sidebar .selection-row>span:first-child {
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 400;
	font-size: 14px;
	line-height: 15px;
	color: var(--bpn-theme-text-primary);
}

.checkout-sidebar .selection-row>span:last-child {
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 500;
	font-size: 16px;
	line-height: 17px;
	color: var(--bpn-theme-text-primary);
}

/* Duration row */
.checkout-sidebar .selection-duration {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 400;
	font-size: 12px;
	line-height: 15px;
	color: var(--bpn-theme-text-primary);
}

.checkout-sidebar .selection-duration svg,
.checkout-sidebar .selection-duration .dashicons {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

/* Divider */
.checkout-sidebar .summary-divider {
	border: none;
	border-top: 1px solid var(--bpn-theme-border-secondary);
	margin: 0;
}

/* Booking selection details container */
.checkout-sidebar .booking-selection-details {
	display: flex;
	flex-direction: column;
	gap: 16px;
	font-family: 'Instrument Sans', sans-serif;
}

/* Start Time + End Time side by side */
.checkout-sidebar .booking-selection-details .selection-rows-group {
	display: flex;
	flex-direction: row;
	gap: 24px;
	align-items: flex-end;
}

/* Price breakdown container */
.checkout-sidebar .price-breakdown {
	display: flex;
	flex-direction: column;
	gap: 18px;
	font-family: 'Instrument Sans', sans-serif;
}

/* Tarjeta del resumen (Derecha) */
.booking-summary-card,
.checkout-lot-header,
.woocommerce-billing-fields_information,
.checkout-vehicle-section-container {
	background: var(--bpn-theme-background-white);
	border: 1px solid var(--bpn-theme-border-secondary);
	border-radius: 2px;
	padding: 20px;
	animation: fadeInUp 0.5s ease-out;
}

/* Fade in animation for cards */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Staggered animation delays for cards */
.checkout-lot-header {
	animation-delay: 0.1s;
}

.woocommerce-billing-fields_information {
	animation-delay: 0.2s;
}

.checkout-vehicle-section-container {
	animation-delay: 0.3s;
}

.booking-summary-card {
	animation-delay: 0.2s;
	position: relative;
}

.bpn-special-pricing-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(17, 19, 24, 0.62);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.16s ease, visibility 0.16s ease;
}

.bpn-special-pricing-overlay.is-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.bpn-special-pricing-dialog {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	width: min(360px, 100%);
	min-height: 138px;
	padding: 28px 30px;
	border: 1px solid var(--bpn-theme-border-secondary);
	border-radius: 8px;
	background: var(--bpn-theme-background-white);
	color: var(--bpn-theme-text-primary);
	font-family: 'Instrument Sans', sans-serif;
	text-align: center;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.32);
}

.bpn-special-pricing-title {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.25;
}

.bpn-special-pricing-spinner {
	width: 32px;
	height: 32px;
	border: 3px solid rgba(42, 42, 42, 0.2);
	border-top-color: var(--bpn-theme-text-primary);
	border-radius: 50%;
	animation: buttonSpin 0.8s linear infinite;
	flex: 0 0 auto;
}

.checkout-payment-side {
	background: var(--bpn-theme-background-white);
	border: 1px solid var(--bpn-theme-border-secondary);
	border-radius: 2px;
	padding: 20px;
	animation-delay: 0.4s;
}

/* Payment Details collapsible content */
.payment-details-content {
	max-height: 2000px;
	opacity: 1;
	overflow: visible;
	transform: translateY(0);
	transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1),
		max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
		transform 0.4s ease;
	margin-top: 0;
}

.payment-details-content.is-collapsed {
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transform: translateY(-20px);
	margin-top: 0;
}

/* Place Order button container - always visible */
.checkout-place-order-container {
	display: none;
	/* BPN: Oculto por defecto, se muestra por JS cuando se abre Step 3 */
	background: #FFFFFF;
	border-radius: 6px;
	padding: 20px;
	margin-top: 24px;
	animation: fadeInUp 0.5s ease-out;
	animation-delay: 0.5s;
	animation-fill-mode: backwards;
}

/* Parking Lot Card */
.checkout-lot-header {
	display: flex;
	flex-direction: row;
	align-items: center;
	padding: 16px;
	gap: 16px;
}

.woocommerce-checkout .checkout-payment-side .payment_methods>li {
	padding: 0 !important;
	margin: 0 !important;
}

.woocommerce-checkout .checkout-payment-side .payment_methods>li:first-child {
	padding-top: 0;
}

.woocommerce-checkout .checkout-payment-side .payment_methods .payment_box {
	background: transparent !important;
	padding: 16px 0 !important;
	margin: 0 !important;
}

.checkout-vehicle-section-container {
	display: flex;
	flex-direction: column;
}

.checkout-vehicle-section-container .row {
	display: flex;
}

.checkout-vehicle-section-container .row input#vehicle_plate {
	text-transform: uppercase;
}

/* Removed conflicting .checkout-payment-side rule - using the white background version instead */

.woocommerce-checkout .checkout-payment-side #payment {
	background: transparent;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.woocommerce-checkout .checkout-payment-side #payment .wc_payment_methods {
	background: transparent;
	border: none;
	padding: 0 !important;
	margin: 0;
}

.woocommerce-checkout .checkout-payment-side #payment .woocommerce-terms-and-conditions-wrapper {
	background: transparent;
	padding: 0;
}

.woocommerce-checkout .checkout-payment-side #payment .form-row.place-order {
	background: transparent;
	padding: 0;
	margin: 0;
}

.woocommerce-checkout .checkout-payment-side #payment .form-row {
	padding: 0;
}

.woocommerce-checkout .checkout-payment-side #payment .secure-checkout-badge-banner {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	background: var(--bpn-theme-background-light-gray);
	border-radius: 2px;
	padding: 8px 12px;
}

.woocommerce-checkout .checkout-payment-side #payment .secure-checkout-badge-banner img {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

.woocommerce-checkout .checkout-payment-side #payment .secure-checkout-badge-banner>div {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.woocommerce-checkout .checkout-payment-side #payment .secure-checkout-badge-banner p {
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 500;
	font-size: 12px;
	line-height: 15px;
	color: var(--bpn-theme-text-primary);
	margin: 0;
}

.woocommerce-checkout .checkout-payment-side #payment .secure-checkout-badge-banner span {
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 400;
	font-size: 12px;
	line-height: 15px;
	color: #5F6368;
}

.woocommerce-checkout .checkout-payment-side #payment .secure-checkout-conditions-input-selection {
	margin-top: 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.woocommerce-checkout .checkout-payment-side #payment .secure-checkout-conditions-input-selection label {
	display: flex;
	gap: 12px;
	margin-bottom: 0;
}

.woocommerce-checkout .checkout-payment-side #payment .secure-checkout-conditions-input-selection .bpn-marketing-optin-highlight {
	font-weight: inherit;
}

.woocommerce-checkout .checkout-payment-side #payment .secure-checkout-conditions-input-selection label p {
	color: #5F6368;
	font-weight: 400;
	margin-bottom: 0;
}

.woocommerce-checkout .checkout-payment-side #payment .secure-checkout-conditions-input-selection label a {
	color: #5F6368;
	box-shadow: none;
	text-decoration: none;
	text-decoration-color: #5F6368;
}

.woocommerce-checkout .checkout-payment-side #payment .secure-checkout-conditions-input-selection label span {
	font-weight: 600;
}

body.woocommerce-checkout .checkout-payment-side .section-title-with-check>p:empty,
body.woocommerce-checkout .checkout-payment-side .section-completed-header>p:empty,
body.woocommerce-checkout .checkout-payment-side .section-completed-header br,
body.woocommerce-checkout .checkout-payment-side .section-completed-header .edit-button br {
	display: none !important;
}

body.woocommerce-checkout .checkout-payment-side .wc_payment_method.payment_method_elavon_converge_credit_card>label,
body.woocommerce-checkout .checkout-payment-side .wc_payment_method.payment_method_elavon_converge_credit_card>.payment_box {
	display: none !important;
}

body.woocommerce-checkout .checkout-payment-side .wc_payment_methods.payment_methods.methods {
	display: none;
}

body.woocommerce-checkout .checkout-payment-side .wc_payment_method.payment_method_elavon_converge_credit_card {
	margin: 0 !important;
	padding: 0 !important;
}

body.woocommerce-checkout .checkout-payment-side .wc_payment_method.payment_method_elavon_converge_credit_card .sv-wc-payment-gateway-card-icons {
	display: none !important;
}

body.woocommerce-checkout #payment div.payment_box .sv-wc-payment-gateway-payment-form-saved-payment-method img,
body.woocommerce-checkout #payment .sv-wc-payment-gateway-payment-form-saved-payment-method img,
#add_payment_method .sv-wc-payment-gateway-payment-form-saved-payment-method img {
	float: none !important;
	width: 100% !important;
	height: auto !important;
	display: inline-block !important;
	margin-right: 0 !important;
	vertical-align: middle !important;
}

body.woocommerce-checkout .checkout-payment-side .section-completed-header {
	margin-bottom: 0;
}

body.woocommerce-checkout .checkout-payment-side .section-title-with-check h3 {
	margin-bottom: 0;
}

.woocommerce-checkout .checkout-payment-side #payment .secure-checkout-conditions-input-selection label input[type="checkbox"] {
	width: 24px;
	height: 24px;
	background-color: var(--bpn-theme-background-white);
	border: 2px solid var(--bpn-theme-primary);
	border-radius: 4px;
	display: inline-grid;
	place-content: center;
	cursor: pointer;
	vertical-align: middle;
	position: relative;
	top: 0;
	flex-shrink: 0;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	transition: all 0.3s ease;
}

.woocommerce-checkout .checkout-payment-side #payment .secure-checkout-conditions-input-selection label input[type="checkbox"]:hover {
	border-color: var(--bpn-theme-primary);
	filter: brightness(0.9);
	transform: scale(1.05);
}

.woocommerce-checkout .checkout-payment-side #payment .secure-checkout-conditions-input-selection label input[type="checkbox"]:checked {
	background-color: var(--bpn-theme-primary);
	border-color: var(--bpn-theme-primary);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
	background-size: 16px;
	background-repeat: no-repeat;
	background-position: center;
	animation: checkboxPop 0.3s ease;
}

@keyframes checkboxPop {
	0% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.15);
	}

	100% {
		transform: scale(1);
	}
}

.woocommerce-checkout .checkout-payment-side #payment .form-row button,
.woocommerce .woocommerce-MyAccount-content .woocommerce-button,
.checkout-place-order-container #place_order,
.woocommerce .woocommerce-MyAccount-content p.order-again .button {
	font-family: 'Instrument Sans', sans-serif;
	background: var(--bpn-theme-primary);
	border: none;
	border-radius: 6px;
	color: var(--bpn-theme-background-white);
	font-size: 14px;
	font-weight: 500;
	line-height: 17px;
	text-align: center;
	padding: 10px 20px;
	margin-top: 24px;
	float: none !important;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 44px;
	text-transform: none;
	cursor: pointer;
	transition: filter 0.3s ease;
	box-shadow: none;
}

.woocommerce-checkout .checkout-payment-side #payment .form-row button:hover,
.woocommerce .woocommerce-MyAccount-content .woocommerce-button:hover,
.checkout-place-order-container #place_order:hover,
.buttons-container .btn-action.btn-outline:hover {
	filter: brightness(0.9);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.woocommerce-checkout .checkout-payment-side #payment .form-row button:active,
.woocommerce .woocommerce-MyAccount-content .woocommerce-button:active,
.checkout-place-order-container #place_order:active,
.buttons-container .btn-action.btn-outline:active {
	transform: translateY(0);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Loading state for button */
.woocommerce-checkout .checkout-payment-side #payment .form-row button.processing,
.checkout-place-order-container #place_order.processing {
	position: relative;
	color: transparent;
	pointer-events: none;
}

.woocommerce-checkout .checkout-payment-side #payment .form-row button.processing::after,
.checkout-place-order-container #place_order.processing::after {
	content: '';
	position: absolute;
	left: 50%;
	top: 50%;
	width: 20px;
	height: 20px;
	margin-left: -10px;
	margin-top: -10px;
	border: 3px solid rgba(42, 42, 42, 0.3);
	border-top-color: var(--bpn-theme-text-primary);
	border-radius: 50%;
	animation: buttonSpin 0.8s linear infinite;
}

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

.woocommerce-checkout .woocommerce-form-login-toggle,
.woocommerce-checkout .woocommerce-form-login {
	display: none !important;
}

#bpn-existing-account-inline {
	margin-top: 18px;
}

.woocommerce-checkout .checkout-payment-side #payment .form-row.place-order #bpn-existing-account-inline {
	margin-top: 24px;
}

#bpn-existing-account-inline[hidden] {
	display: none !important;
}

#bpn-new-account-optin {
	margin: 0;
}

#bpn-new-account-optin[hidden] {
	display: none !important;
}

.woocommerce-checkout .checkout-payment-side #payment .secure-checkout-conditions-input-selection .logged-in-user-info {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	width: 100%;
	margin: 0 0 18px;
	padding: 14px 16px;
	background: var(--bpn-theme-background-light-gray);
	border: 1px solid var(--bpn-theme-border-secondary);
	border-left: 4px solid var(--bpn-theme-primary);
	border-radius: 6px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.woocommerce-checkout .checkout-payment-side #payment .secure-checkout-conditions-input-selection .logged-in-user-info::before {
	content: '';
	width: 20px;
	height: 20px;
	margin-top: 1px;
	flex: 0 0 20px;
	background-color: var(--bpn-theme-primary);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4Zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4Zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.woocommerce-checkout .checkout-payment-side #payment .secure-checkout-conditions-input-selection .logged-in-user-info p {
	margin: 0;
	color: var(--bpn-theme-text-primary);
	font-family: 'Instrument Sans', sans-serif;
	font-size: 15px;
	font-weight: 500;
	line-height: 22px;
}

.woocommerce-checkout .checkout-payment-side #payment .secure-checkout-conditions-input-selection .logged-in-user-info strong {
	font-weight: 700;
}

.woocommerce-checkout .checkout-payment-side #payment .secure-checkout-conditions-input-selection .logged-in-user-info a {
	color: var(--bpn-theme-primary);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.woocommerce-checkout .checkout-payment-side #payment .form-row.place-order.bpn-existing-account-active {
	display: block !important;
}

.woocommerce-checkout .checkout-payment-side #payment .form-row.place-order.bpn-existing-account-active #place_order {
	display: none !important;
}

.bpn-existing-account-panel {
	background: var(--bpn-theme-background-light-gray);
	border: 1px solid var(--bpn-theme-border-secondary);
	border-left: 4px solid var(--bpn-theme-primary);
	border-radius: 6px;
	padding: 16px;
}

.woocommerce-checkout .checkout-payment-side #payment .secure-checkout-conditions-input-selection #bpn-new-account-optin .bpn-new-account-optin-label {
	margin-bottom: 0;
}

.bpn-new-account-tooltip {
	margin-left: 2px;
	outline: none;
	vertical-align: -2px;
}

.woocommerce-checkout .checkout-payment-side #payment .secure-checkout-conditions-input-selection #bpn-new-account-optin .bpn-tooltip {
	font-weight: 400;
}

.bpn-existing-account-title,
.bpn-existing-account-copy {
	color: var(--bpn-theme-text-primary);
	font-family: 'Instrument Sans', sans-serif;
	margin: 0;
}

.bpn-existing-account-title {
	font-size: 15px;
	font-weight: 700;
	line-height: 20px;
}

.bpn-existing-account-copy {
	color: #5F6368;
	font-size: 13px;
	line-height: 18px;
	margin-top: 4px;
}

#bpn-existing-account-inline .bpn-existing-account-actions {
	display: grid !important;
	gap: 12px;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	margin: 14px 0 0;
	width: 100% !important;
}

#bpn-existing-account-inline .bpn-existing-account-button {
	background: var(--bpn-theme-primary);
	border: 1px solid var(--bpn-theme-primary);
	border-radius: 6px;
	color: var(--bpn-theme-background-white);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 600;
	height: auto;
	min-height: 44px;
	margin: 0;
	padding: 10px 12px;
	text-align: center;
	text-transform: none;
	white-space: normal;
	max-width: 100% !important;
	min-width: 0;
	width: 100% !important;
}

#bpn-existing-account-inline .bpn-existing-account-button-secondary {
	background: var(--bpn-theme-background-white);
	color: var(--bpn-theme-text-primary);
}

.bpn-existing-account-panel.is-processing .bpn-existing-account-button {
	opacity: 0.65;
	pointer-events: none;
}

@media (max-width: 520px) {
	#bpn-existing-account-inline .bpn-existing-account-actions {
		grid-template-columns: 1fr;
	}

	#bpn-existing-account-inline .bpn-existing-account-button {
		grid-column: 1 / -1;
		min-width: 100% !important;
	}
}

.price-breakdown .price-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 400;
	font-size: 14px;
	line-height: 15px;
	color: var(--bpn-theme-text-primary);
}

.price-breakdown .price-row .price-label {
	display: flex;
	align-items: center;
	gap: 6px;
}

.price-breakdown .price-row .price-label svg {
	flex-shrink: 0;
}

.price-breakdown .price-row .price-value {
	font-weight: 500;
	text-align: right;
}

.price-breakdown .price-row.discount .price-value {
	font-weight: 600;
	color: #139242;
}

.price-breakdown .price-row.discount-code {
	color: #777777;
}

.price-breakdown .price-row.discount-code .price-value {
	display: flex;
	align-items: center;
	gap: 5px;
	font-weight: 500;
	color: #777777;
}

.price-breakdown .price-row.discount-code .remove-icon {
	width: 16px;
	height: 16px;
	cursor: pointer;
}

/* Taxes footnote inside WooCommerce order total row */
.order-total-taxes-note {
	display: block;
	font-family: 'Instrument Sans', sans-serif;
	font-size: 12px;
	font-weight: 400;
	color: #777777;
	margin-top: 4px;
}

/* Service Fee tooltip */
.bpn-tooltip-wrap {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.bpn-tooltip-wrap .info-icon {
	cursor: pointer;
}

.bpn-tooltip {
	display: none;
	position: absolute;
	bottom: calc(100% + 8px);
	left: 50%;
	transform: translateX(-50%);
	background: var(--bpn-theme-text-primary);
	color: #ffffff;
	font-family: 'Instrument Sans', sans-serif;
	font-size: 12px;
	line-height: 1.5;
	padding: 8px 12px;
	border-radius: 6px;
	width: 220px;
	text-align: left;
	z-index: 100;
	pointer-events: none;
}

.bpn-tooltip::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	border: 5px solid transparent;
	border-top-color: var(--bpn-theme-text-primary);
}

.bpn-tooltip-wrap:hover .bpn-tooltip {
	display: block;
}

.bpn-tooltip-wrap:focus .bpn-tooltip,
.bpn-tooltip-wrap:focus-within .bpn-tooltip {
	display: block;
}

/* Prevent row hover animation from interfering with tooltip hover */
.price-breakdown .price-row:has(.bpn-tooltip-wrap:hover) {
	transform: none;
	transition: none;
}

.woocommerce .woocommerce-checkout-review-order-table th,
.woocommerce .woocommerce-checkout-review-order-table td {
	padding: 0 !important;
}

.woocommerce .woocommerce-checkout-review-order-table th,
.woocommerce .woocommerce-checkout-review-order-table td,
.woocommerce table.shop_table {
	border: none !important;
	font-size: 16px;
}

.woocommerce .woocommerce-checkout-review-order-table tr.order-total {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}

.woocommerce .woocommerce-checkout-review-order-table tr.order-total th {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}

.woocommerce .woocommerce-checkout-review-order-table tr.order-total th strong {
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 600;
	font-size: 14px;
	line-height: 17px;
	color: var(--bpn-theme-text-primary);
}

.woocommerce .woocommerce-checkout-review-order-table tr.order-total th span,
.woocommerce .woocommerce-checkout-review-order-table tr.order-total th .order-total-taxes-note {
	font-family: 'Instrument Sans', sans-serif;
	color: #696969;
	font-size: 10px;
	line-height: 12px;
	font-weight: 400;
}

.woocommerce .woocommerce-checkout-review-order-table tr.order-total td {
	text-align: right;
}

.woocommerce .woocommerce-checkout-review-order-table tr.order-total td span {
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 700;
	font-size: 18px;
	line-height: 22px;
	color: var(--bpn-theme-text-primary);
}

.woocommerce-page .booking-summary-card table.shop_table {
	width: 100%;
}

/* Free cancellation badge */
.booking-summary-card_cancelation_message {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 8px;
	background: var(--bpn-theme-background-light-gray);
	border-radius: 2px;
	padding: 8px 12px;
}

.booking-summary-card_cancelation_message img {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.booking-summary-card_cancelation_message span {
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 500;
	font-size: 10px;
	line-height: 12px;
	color: var(--bpn-theme-text-primary);
	margin: 0;
}

/* Order total row (custom, replaces WooCommerce table) */
.bpn-order-total-row {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: flex-start;
	margin-top: -20px;
}

.bpn-order-total-row p {
	display: none;
	margin: 0;
	padding: 0;
}

.bpn-order-total-left {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.bpn-total-label {
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 600;
	font-size: 16px;
	line-height: 17px;
	color: var(--bpn-theme-text-primary);
}

.bpn-order-total-amount {
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 700;
	font-size: 18px;
	line-height: 22px;
	color: var(--bpn-theme-text-primary);
	text-align: right;
}

.bpn-order-total-amount .woocommerce-Price-amount {
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 700;
	font-size: 20px;
	line-height: 22px;
	color: var(--bpn-theme-text-primary);
}

.woocommerce-billing-fields,
.checkout-vehicle-section-container,
.checkout-vehicle-section-container .jurisdiction-container {
	margin-top: 24px;
}

.checkout-vehicle-section-container .jurisdiction-container {
	margin-top: 12px;
}

.woocommerce-checkout input[name="billing_first_name"],
.woocommerce-checkout input[name="billing_email"],
.woocommerce-checkout input[name="billing_phone"] {
	padding-left: 45px !important;
	background-repeat: no-repeat;
	background-position: 15px center;
	border: 1px solid #e0e0e0;
	border-radius: 2px;
	height: 48px;
	transition: all 0.3s ease;
}

.woocommerce-checkout input[name="billing_first_name"] {
	background-image: url('/wp-content/plugins/book-parking-now/assets/images/name-icon.png');
	background-size: 15px 15px;
}

.woocommerce-checkout input[name="billing_email"] {
	background-image: url('/wp-content/plugins/book-parking-now/assets/images/email-icon.png');
	background-size: 15px 12px;
}

.woocommerce-checkout input[name="billing_phone"] {
	background-image: url('/wp-content/plugins/book-parking-now/assets/images/phone-icon.png');
	background-size: 13.5px 13.5px;
}

.woocommerce-checkout-payment .wc_payment_methods {
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.woocommerce-checkout-payment .wc_payment_methods input {
	height: auto !important;
}

.woocommerce-checkout-payment .wc_payment_methods>li {
	padding: 0;
	margin: 0;
	border: none !important;
}

.woocommerce-checkout-payment .wc_payment_methods .payment-method-divider {
	border: 1px solid #CFCFCF;
	margin: 0;
}

.wc_payment_method input[type="radio"].input-radio,
.wc_payment_method input[type="radio"],
#payment .wc_payment_method input[type="radio"],
.woocommerce-checkout #payment input[type="radio"] {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	position: absolute !important;
	width: 0 !important;
	height: 0 !important;
}

.wc_payment_method input[type="radio"].input-radio+label {
	display: flex !important;
	justify-content: space-between;
	align-items: center;
	position: relative;
	padding: 0;
	cursor: pointer;
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 400;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 0.002em;
	color: var(--bpn-theme-text-primary);
}

.wc_payment_method input[type="radio"].input-radio+label .payment-method-icon {
	display: flex;
	align-items: center;
	gap: 11px;
}

.wc_payment_method input[type="radio"].input-radio+label::before,
.wc_payment_method input[type="radio"]+label::before,
#payment .wc_payment_method label::before {
	content: "" !important;
	display: none !important;
	width: 0 !important;
	height: 0 !important;
}

.wc_payment_method input[type="radio"].input-radio:checked+label::before {
	border-color: #4d4f53;
	box-shadow: 0 0 0 2px rgba(77, 79, 83, 0.1);
}

.wc_payment_method input[type="radio"].input-radio+label::after,
.wc_payment_method input[type="radio"]+label::after,
#payment .wc_payment_method label::after {
	content: "" !important;
	display: none !important;
	width: 0 !important;
	height: 0 !important;
	opacity: 0 !important;
}

.wc_payment_method input[type="radio"].input-radio:checked+label::after {
	opacity: 1;
	transform: scale(1);
}

.wc_payment_method {
	padding: 0;
	border: none;
}

.woocommerce-checkout #payment div.payment_box input.js-sv-wc-payment-gateway-credit-card-form-input {
	font-size: 16px !important;
}

.woocommerce-checkout #payment div.payment_box input.js-sv-wc-payment-gateway-credit-card-form-account-number {
	background-size: 35px 25px !important;
}

.lot-card-content {
	display: flex;
	gap: 16px;
}

.lot-card-content h3 {
	margin-top: 0;
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 600;
	font-size: 16px;
	line-height: 20px;
	color: var(--bpn-theme-text-primary);
}

.lot-card-content .lot-image-container {
	flex: 0 0 127px;
}

.lot-card-content .lot-image-container img {
	width: 127px;
	height: 125px;
	object-fit: cover;
	border-radius: 6px;
}

.lot-card-content .lot-info-text {
	flex: 1;
	font-size: 14px;
	min-width: 0;
}

.lot-card-content .lot-info-text_rating_time {
	display: flex;
	gap: 12px;
	align-items: center;
}

.lot-card-content .lot-info-text_rating_time>div,
.lot-info-text_direction,
.lot-card-content .lot-info-text_services>div,
.booking-summary-card_cancelation_message {
	display: flex;
	gap: 5px;
}

.lot-card-content .lot-info-text_rating_time .lot-walk-meta {
	align-items: center;
	gap: 4px;
	justify-content: flex-start;
	max-width: 100%;
}

.lot-card-content .lot-info-text_rating_time .lot-walk-duration,
.lot-card-content .lot-info-text_rating_time .lot-walk-distance {
	white-space: nowrap;
}

.booking-summary-card_cancelation_message {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	background: var(--bpn-theme-background-light-gray);
	border-radius: 2px;
	padding: 8px 12px;
}

.booking-summary-card_cancelation_message img {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.booking-summary-card_cancelation_message span {
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 500;
	font-size: 12px;
	line-height: 15px;
	color: var(--bpn-theme-text-primary);
	margin: 0;
}

.lot-info-text_rating_time>div p {
	font-weight: 600;
}

.lot-info-text_rating_time>div span {
	color: #5F6368;
}

.lot-card-content .lot-info-text_services {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 10px 16px;
	margin-top: 15px;
	width: 100%;
	max-width: 100%;
}

.lot-card-content .lot-info-text_services>.lot-info-service-item {
	align-items: flex-start;
	flex: 1 1 220px;
	min-width: 0;
	max-width: 100%;
}

.lot-card-content .lot-info-text_services .lot-info-service-label {
	display: block;
	min-width: 0;
	overflow-wrap: anywhere;
}

/* Hide placeholder direction (temporarily) */
.lot-card-content .lot-info-text_direction {
	display: none !important;
}

/* Hide the hr after direction when direction is hidden */
.lot-card-content .lot-info-text_direction+hr {
	display: none !important;
}

.lot-card-content .lot-info-text img {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

/* Rating icon */
.lot-info-text_rating_time .star-icon {
	width: 16px;
	height: 16px;
}

/* Ellipse separator */
.lot-info-text_rating_time .separator-dot {
	width: 4px;
	height: 4px;
	background: #CACACA;
	border-radius: 50%;
}

/* Oculta el bloque global de errores en el checkout */
.woocommerce-checkout .woocommerce-NoticeGroup-checkout {
	display: none !important;
}

/* Secciones colapsadas - Estado completado */
.section-completed-header {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	cursor: pointer;
	transition: all 0.3s ease;
	margin-bottom: 0;
}

.section-completed-header:hover {
	opacity: 0.8;
}

.section-completed-header .section-title-with-check {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 8px;
	flex: 1;
}

.section-completed-header .section-title-with-check .check-icon {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	opacity: 0;
	visibility: hidden;
	/*transform: scale(0.5) rotate(-180deg);*/
	transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.section-completed-header .section-title-with-check .check-icon.show {
	opacity: 1;
	visibility: visible;
	transform: scale(1) rotate(0deg);
}

/* Green checkmark using inline SVG background */
.section-completed-header .section-title-with-check .check-icon {
	background: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z' fill='%23139242'/%3E%3C/svg%3E") no-repeat center;
	background-size: contain;
}

.section-completed-header .section-title-with-check h3 {
	margin: 0;
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 600;
	font-size: 16px;
	line-height: 20px;
	letter-spacing: 0.002em;
	color: var(--bpn-theme-text-primary);
}

/* BPN: Estilos para cuando el paso está bloqueado y no se puede expandir manualmente */
.section-completed-header.payment-locked {
	cursor: not-allowed;
	opacity: 0.6;
}

.section-completed-header.payment-locked:hover {
	transform: none;
}

.checkout-payment-side .section-completed-header.payment-locked .edit-button {
	display: none !important;
}

.checkout-payment-side .section-completed-header.payment-locked+.section-summary {
	display: none !important;
}

.section-completed-header .edit-button {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 6px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0;
	opacity: 0;
	transform: translateX(10px);
	transition: all 0.3s ease;
	pointer-events: none;
	flex-shrink: 0;
}

.section-completed-header .edit-button.show {
	opacity: 1;
	transform: translateX(0);
	pointer-events: auto;
}

.section-completed-header .edit-button:hover {
	transform: translateX(-2px);
}

.section-completed-header .edit-button .edit-icon {
	width: 20px;
	height: 20px;
}

.section-completed-header .edit-button span {
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 17px;
	color: #434343;
}

.section-summary {
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 400;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 0.002em;
	color: #777777;
	margin-top: 0;
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transform: translateY(-10px);
	transition: all 0.4s ease, max-height 0.4s ease, margin-top 0.3s ease;
	padding-left: 26px;
}

.section-summary.show {
	max-height: 100px;
	opacity: 1;
	margin-top: 8px;
	transform: translateY(0);
}

/* Accordion with smooth animations - Open by default */
.bpn-billing-step-wrapper {
	max-height: 2000px;
	opacity: 1;
	overflow: visible;
	transform: translateY(0);
	transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1),
		max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
		transform 0.4s ease;
	margin-top: 24px;
}

.bpn-billing-step-wrapper.is-collapsed {
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transform: translateY(-20px);
	margin-top: 0;
}

.vehicle-details-fields {
	max-height: 2000px;
	opacity: 1;
	overflow: visible;
	transform: translateY(0);
	transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1),
		max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
		transform 0.4s ease;
	margin-top: 24px;
}

.vehicle-details-fields.is-collapsed {
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transform: translateY(-20px);
	margin-top: 0;
}

/* Payment Details - Always open by default */
.checkout-payment-side #payment {
	max-height: none;
	opacity: 1;
	overflow: visible;
	transform: translateY(0);
}

/* These rules are now handled by the default state above */

/* Estilo base para los headers del acordeón */
.woocommerce-billing-fields_information h3,
.checkout-vehicle-section-container h3,
.payment-details-title {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
}

/* El Chevron (Flecha) - Not used in current design, sections use checkmark/Edit button instead */
/* Chevron arrows removed from accordion headers as per Figma design */

/* Order Received Page */
.woocommerce-order-received main .wp-block-woocommerce-order-confirmation-status,
.woocommerce-order-received main .wp-block-woocommerce-order-confirmation-summary,
.woocommerce-order-received main .wp-block-woocommerce-order-confirmation-totals-wrapper,
.woocommerce-order-received main .wc-block-order-confirmation-address-wrapper {
	display: none;
}

.woocommerce-order-received main .wp-block-woocommerce-order-confirmation-additional-information {
	margin-top: 0;
}

.woocommerce-order-received .woocommerce-customer-details {
	display: none;
}

.woocommerce-order-received main {
	text-align: center;
}

.woocommerce-order-received main .woocommerce-thankyou-order-received,
.woocommerce-order-received main .page-header {
	display: none !important;
}

.woocommerce-order-received main .parking-ticket-wrapper {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 475px;
	margin-left: auto;
	margin-right: auto;
}

.woocommerce-order-received main .parking-ticket-wrapper h3 {
	font-weight: 700;
}

.woocommerce-order-received main .parking-ticket-wrapper h2,
.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info h3,
.parking-ticket-wrapper_cancel_modal_overlay h3 {
	font-size: 22px;
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_confirmation_message p {
	color: var(--bpn-theme-text-primary);
	font-size: 14px;
	font-weight: 400;
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_confirmation_message a,
.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_confirmation_message span {
	color: var(--bpn-theme-text-primary);
	font-weight: 500;
}

.bpn-resend-feedback {
	display: block;
	font-size: 12px;
	font-weight: 600;
	margin-top: 4px;
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info {
	background: var(--bpn-theme-background-white);
	border: 1px solid var(--bpn-theme-border-secondary);
	border-radius: 2px;
	padding: 20px;
	margin-top: 26px;
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info h3,
.parking-ticket-wrapper_cancel_modal_overlay h3 {
	font-weight: 600;
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_ticket_info_id_date {
	display: flex;
	gap: 8px;
	justify-content: space-between;
	font-size: 14px;
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_ticket_info_date strong{
	font-weight: 500;
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_ticket_info_id span {
	color: #434343;
	background: #E8E8E8;
	padding: 6px 12px;
}

@media (max-width: 480px) {
	.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_ticket_info_id_date {
		flex-direction: column;
		gap: 12px;
	}
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info {
	border-radius: 6px;
	width: 100%;
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info,
.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_ticket_info_body,
.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .ticket-meta-grid {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_ticket_info_body .qr-section .scanner-label {
	color: #777777;
	font-size: 12px;
	font-weight: 600;
	margin-bottom: 0;
	margin-top: 10px;
	text-transform: uppercase;
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_ticket_info_body .qr-section .scanner-id {
	display: inline-block;
	background-color: var(--bpn-theme-background-light-gray);
	border: 1px dashed var(--bpn-theme-border-secondary);
	border-radius: 2px;
	color: var(--bpn-theme-text-primary);
	font-size: 16px;
	font-weight: 500;
	margin-top: 10px;
	padding: 6px 12px;
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_ticket_info_body .qr-section .scan-instruction {
	color: var(--bpn-theme-text-primary);
	font-size: 14px;
	font-weight: 500;
	margin-top: 10px;
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_ticket_info_body .qr-section img {
	margin-left: auto;
	margin-right: auto;
	width: 70%;
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_ticket_info_body .qr-section .qr-image.is-hidden,
.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_ticket_info_body .qr-section .qr-placeholder.is-hidden {
	display: none;
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_ticket_info_body .qr-section .qr-placeholder {
	align-items: center;
	background-color: var(--bpn-theme-background-light-gray);
	border: 1px dashed var(--bpn-theme-border-secondary);
	border-radius: 4px;
	color: var(--bpn-theme-text-primary);
	display: flex;
	flex-direction: column;
	gap: 10px;
	justify-content: center;
	margin-left: auto;
	margin-right: auto;
	min-height: 180px;
	padding: 20px;
	width: 70%;
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_ticket_info_body .qr-section .qr-placeholder p {
	font-size: 14px;
	font-weight: 600;
	margin: 0;
	text-align: center;
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_ticket_info_body .qr-section .qr-loading-dot {
	animation: bpn-qr-spin 0.9s linear infinite;
	border: 3px solid rgba(0, 0, 0, 0.12);
	border-top-color: var(--bpn-theme-primary-color);
	border-radius: 50%;
	display: block;
	height: 30px;
	width: 30px;
}

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

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_ticket_info_body .qr-section .qr-error-message h3 {
	font-size: 16px;
    font-weight: 600;
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_ticket_info_body .qr-section .qr-error-message p {
	color: #777;
    font-size: 14px;
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_ticket_info_body .plate-section {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 16px;
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_ticket_info_body .plate-section p:first-child {
	color: var(--bpn-theme-text-primary);
	font-size: 14px;
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_ticket_info_body .plate-section .plate-section_plate,
.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_ticket_info_body .plate-section p {
	margin-bottom: 0;
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_ticket_info_body .plate-section>div p {
	color: var(--bpn-theme-text-primary);
	font-size: 12px;
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_ticket_info_body .plate-section>div p:first-child {
	font-weight: 500;
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_ticket_info_body .plate-section .plate-section_plate {
	align-self: center;
	display: inline-block;
	width: fit-content;
	font-size: 40px;
	font-weight: 700;
	border: 2px solid var(--bpn-theme-text-primary);
	border-radius: 2px;
	padding: 8px 20px;
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_meta-grid {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_meta-grid>div {
	display: flex;
	gap: 6px;
	justify-content: center;
	color: var(--bpn-theme-text-primary);
	font-size: 14px;
	font-weight: 500;
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_meta-grid>div p {
	margin-bottom: 0;
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_meta-grid>div img {
	align-self: center;
	height: 15px;
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_meta-grid>div span {
	color: #5F6368;
	font-weight: 400;
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_meta-grid>.parking-ticket-wrapper_purchase-source {
	flex-wrap: wrap;
	justify-content: center;
	padding: 0 12px;
	line-height: 1.4;
	text-align: center;
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_meta-grid>.parking-ticket-wrapper_purchase-source a {
	color: var(--bpn-theme-text-primary);
	font-weight: 500;
	overflow-wrap: anywhere;
	text-decoration: underline;
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .location-info>div {
	display: flex;
	gap: 12px;
	justify-content: center;
	font-size: 22px;
	font-weight: 600;
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .location-info>div img {
	align-self: center;
	height: 25px;
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .location-info>div h3 {
	margin: 0;
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_buttons,
.buttons-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_buttons .btn-action {
	flex: 1;
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_buttons .download-pass-btn {
	flex-basis: 100%;
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_buttons .btn-action,
.buttons-container .btn-action {
	display: inline-flex;
	gap: 10px;
	align-items: center;
	justify-content: center;
	border-radius: 2px;
	font-size: 14px;
	font-weight: 500;
	padding: 8px 16px;
	text-decoration: none;
	transition: 0.3s;
}

.woocommerce-order-received main .parking-ticket-wrapper.plate-ticket .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_buttons .btn-action,
.buttons-container .btn-action {
	color: var(--bpn-theme-background-white);
}

.woocommerce-order-received main .parking-ticket-wrapper.qr-ticket .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_buttons .btn-action {
	color: var(--bpn-theme-primary);
}

.woocommerce-order-received main .parking-ticket-wrapper.qr-ticket .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_buttons .btn-action.download-pass-btn {
	color: var(--bpn-theme-background-white);
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_buttons .btn-action .btn-icon--mask,
.buttons-container .btn-action .btn-icon--mask {
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	display: inline-block;
	background-color: currentColor;
	-webkit-mask-image: var(--btn-icon-mask);
	mask-image: var(--btn-icon-mask);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_buttons .btn-action.btn-outline {
	border: 1px solid var(--bpn-theme-primary);
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_buttons .btn-action.btn-solid {
	background-color: var(--bpn-theme-primary);
}

.woocommerce-order-received main .parking-ticket-wrapper.plate-ticket .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_buttons .btn-action.btn-solid {
	display: none;
}

.woocommerce-order-received main .parking-ticket-wrapper.plate-ticket .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_buttons .btn-action.btn-outline {
	width: 100%;
	background-color: var(--bpn-theme-primary);
	color: var(--bpn-theme-background-white);
}



.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_cancel a {
	font-size: 14px;
	font-weight: 500;
	color: var(--bpn-theme-primary);
}

.woocommerce-order-received main .parking-ticket-wrapper.plate-ticket .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_cancel a {
	color: var(--bpn-theme-primary);
}



.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_summary_container,
.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_summary_container .parking-ticket-wrapper_summary_price-breakdown,
.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_summary_container .parking-ticket-wrapper_summary_price-total {
	display: flex;
	flex-direction: column;
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_summary_container {
	gap: 18px;
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_summary_container .parking-ticket-wrapper_summary_price-breakdown {
	gap: 12px;
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_summary_container .parking-ticket-wrapper_summary_price-total {
	gap: 8px;
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_summary_container .parking-ticket-wrapper_summary_price-breakdown>div,
.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_summary_container .parking-ticket-wrapper_summary_price-total>div,
.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_payment_container {
	display: flex;
	align-items: center;
	gap: 15px;
	justify-content: space-between;
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_payment_container>div {
	display: flex;
	align-items: center;
	gap: 6px;
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_payment_container>div:last-child span {
	color: #777777;
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_summary_container .parking-ticket-wrapper_summary_price-breakdown>div span,
.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_payment_container {
	font-size: 14px;
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info h3.parking-ticket-wrapper_summary_title,
.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_summary_container .parking-ticket-wrapper_summary_price-total h3 {
	font-size: 16px;
	font-weight: 700;
	text-align: left;
	margin: 0;
}

.woocommerce-order-received main .parking-ticket-wrapper .parking-ticket-wrapper_ticket_info .parking-ticket-wrapper_summary_container .parking-ticket-wrapper_summary_price-total h3 {
	font-weight: 600;
}

.parking-ticket-wrapper_summary_container .parking-ticket-wrapper_summary_price-total .parking-ticket-wrapper_summary_price-total-total {
	align-self: flex-start;
	font-size: 20px;
	font-weight: 700;
	line-height: 16px;
}

.parking-ticket-wrapper_summary_container .parking-ticket-wrapper_summary_price-total .parking-ticket-wrapper_summary_price-taxes {
	color: #696969;
	font-size: 12px;
	font-weight: 400;
	text-align: left;
	margin: 0;
}

/* User Account */
.woocommerce .woocommerce-MyAccount-content .woocommerce-button {
	display: flex !important;
	margin: 0 !important;
}

/* Payment method icons */
.payment-method-icon img {
	max-height: 20px;
	width: auto;
}

/* Credit card icon in input */
.payment-card-icon {
	width: 18px;
	height: 18px;
}

/* Info icon */
.info-icon {
	width: 18px;
	height: 18px;
	cursor: help;
}

/* Form field containers */
.payment-form-fields {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* Smooth scroll behavior */
html {
	scroll-behavior: smooth;
}

/* Error messages animation */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
	animation: slideInDown 0.4s ease;
}

@keyframes slideInDown {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Returning customer & Coupon messages */
.woocommerce-form-login-toggle .woocommerce-info,
.woocommerce-form-coupon-toggle .woocommerce-info {
	font-family: 'Instrument Sans', sans-serif;
	background: var(--bpn-theme-background-white);
	border: 1px solid var(--bpn-theme-border-secondary);
	border-left: 4px solid var(--bpn-theme-primary);
	border-radius: 6px;
	padding: 16px 20px;
	margin-bottom: 20px;
	color: var(--bpn-theme-text-primary);
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	letter-spacing: 0.002em;
	display: flex;
	align-items: center;
	gap: 12px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
}

.woocommerce-form-login-toggle .woocommerce-info:hover,
.woocommerce-form-coupon-toggle .woocommerce-info:hover {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	border-left-color: var(--bpn-theme-primary);
}

.woocommerce-form-login-toggle .woocommerce-info::before,
.woocommerce-form-coupon-toggle .woocommerce-info::before {
	content: '';
	display: inline-block;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.woocommerce-form-login-toggle .woocommerce-info::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D20D33' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'%3E%3C/path%3E%3Ccircle cx='12' cy='7' r='4'%3E%3C/circle%3E%3C/svg%3E");
}

.woocommerce-form-coupon-toggle .woocommerce-info::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D20D33' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 12 20 22 4 22 4 12'%3E%3C/polyline%3E%3Crect x='2' y='7' width='20' height='5'%3E%3C/rect%3E%3Cline x1='12' y1='22' x2='12' y2='7'%3E%3C/line%3E%3Cpath d='M12 7H7.5a2.5 2.5 0 0 1 0-5C11 2 12 7 12 7z'%3E%3C/path%3E%3Cpath d='M12 7h4.5a2.5 2.5 0 0 0 0-5C13 2 12 7 12 7z'%3E%3C/path%3E%3C/svg%3E");
}

.woocommerce-form-login-toggle .woocommerce-info .showlogin,
.woocommerce-form-coupon-toggle .woocommerce-info .showcoupon {
	color: var(--bpn-theme-text-primary);
	font-weight: 500;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: all 0.2s ease;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.woocommerce-form-login-toggle .woocommerce-info .showlogin::after,
.woocommerce-form-coupon-toggle .woocommerce-info .showcoupon::after {
	content: '→';
	font-size: 16px;
	transition: transform 0.2s ease;
}

.woocommerce-form-login-toggle .woocommerce-info .showlogin:hover,
.woocommerce-form-coupon-toggle .woocommerce-info .showcoupon:hover {
	color: var(--bpn-theme-primary);
	border-bottom-color: var(--bpn-theme-primary);
}

.woocommerce-form-login-toggle .woocommerce-info .showlogin:hover::after,
.woocommerce-form-coupon-toggle .woocommerce-info .showcoupon:hover::after {
	transform: translateX(3px);
}

/* Login and Coupon Forms */
.woocommerce-form-login,
.woocommerce-form-coupon {
	background: #FFFFFF;
	border: 1px solid #E8E8E8;
	border-radius: 6px;
	padding: 24px;
	margin-bottom: 24px;
	animation: slideInDown 0.4s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.woocommerce-form-login p,
.woocommerce-form-coupon p {
	font-family: 'Instrument Sans', sans-serif;
	color: #434343;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	letter-spacing: 0.002em;
	margin-bottom: 16px;
}

.woocommerce-form-login .form-row,
.woocommerce-form-coupon .form-row {
	margin-bottom: 16px;
}

.woocommerce-form-login label,
.woocommerce-form-coupon label {
	font-family: 'Instrument Sans', sans-serif;
	color: #434343;
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
	letter-spacing: 0.002em;
	margin-bottom: 8px;
	display: block;
}

.woocommerce-form-login input[type="text"],
.woocommerce-form-login input[type="password"],
.woocommerce-form-coupon input[type="text"] {
	font-family: 'Instrument Sans', sans-serif;
	background: #FFFFFF;
	border: 1px solid #E8E8E8;
	border-radius: 6px;
	color: var(--bpn-theme-text-primary);
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	letter-spacing: 0.002em;
	height: 48px;
	padding: 8px 16px;
	width: 100%;
	box-sizing: border-box;
	transition: all 0.3s ease;
}

.woocommerce-form-login input[type="text"]:focus,
.woocommerce-form-login input[type="password"]:focus,
.woocommerce-form-coupon input[type="text"]:focus {
	border-color: #F5C825;
	outline: none;
	box-shadow: 0 0 0 3px rgba(245, 200, 37, 0.1);
}

.woocommerce-form-login .button,
.woocommerce-form-coupon .button {
	font-family: 'Instrument Sans', sans-serif;
	background: #F5C825;
	border: none;
	border-radius: 6px;
	color: var(--bpn-theme-text-primary);
	font-size: 14px;
	font-weight: 500;
	line-height: 17px;
	text-align: center;
	padding: 12px 24px;
	height: 44px;
	text-transform: none;
	cursor: pointer;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.woocommerce-form-login .button:hover,
.woocommerce-form-coupon .button:hover {
	background: #e5b800;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(245, 200, 37, 0.3);
}

.woocommerce-form-login .button:active,
.woocommerce-form-coupon .button:active {
	transform: translateY(0);
	box-shadow: 0 2px 6px rgba(245, 200, 37, 0.2);
}

.woocommerce-form-login .lost_password {
	margin-top: 12px;
}

.woocommerce-form-login .lost_password a {
	font-family: 'Instrument Sans', sans-serif;
	color: #5F6368;
	font-size: 14px;
	font-weight: 400;
	text-decoration: none;
	transition: color 0.2s ease;
}

.woocommerce-form-login .lost_password a:hover {
	color: #F5C825;
	text-decoration: underline;
}

/* Price row animation on hover */
.price-breakdown .price-row {
	transition: all 0.2s ease;
}

.price-breakdown .price-row:hover {
	transform: translateX(3px);
}

/* Divider animation */
.summary-divider,
.payment-method-divider {
	position: relative;
	overflow: hidden;
}

.summary-divider::after,
.payment-method-divider::after {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(245, 200, 37, 0.3), transparent);
	animation: shimmer 2s infinite;
}

@keyframes shimmer {
	to {
		left: 100%;
	}
}

/* Responsive design - Ajuste para móviles */
@media (max-width: 1200px) {
	.custom-checkout-container {
		flex-direction: column;
	}

	.checkout-main-content,
	.checkout-sidebar {
		flex: 1 1 100%;
		width: 100%;
	}

	.checkout-sidebar {
		position: static;
		padding-top: 0;
	}

	/* Disable some animations on mobile for better performance */
	.booking-summary-card::before,
	.summary-divider::after,
	.payment-method-divider::after {
		display: none;
	}
}

@media (max-width: 768px) {
	.woocommerce-checkout main {
		padding-top: 0;
		padding-bottom: 32px;
	}

	.woocommerce-checkout main .wp-block-group.is-layout-constrained,
	.woocommerce-checkout main .wp-block-group.alignwide,
	.woocommerce-checkout main .woocommerce {
		margin-top: 0 !important;
		margin-block-start: 0 !important;
		padding-top: 0 !important;
	}

	.woocommerce-checkout main.site-main > .site-inner,
	.woocommerce-checkout main.site-main > .site-inner > .wp-block-group,
	.woocommerce-checkout main.site-main > .site-inner > .wp-block-group > .wp-block-group.alignwide {
		margin-top: 0;
		margin-block-start: 0;
	}

	.checkout-page-title {
		padding-left: 16px;
		margin-top: 18px !important;
		margin-bottom: 8px;
	}

	.custom-checkout-container {
		gap: 10px;
		margin-top: 0 !important;
	}

	.custom-checkout-container .checkout-main-content {
		display: contents;
	}

	.custom-checkout-container #customer_details,
	.custom-checkout-container .woocommerce-billing-fields {
		display: contents;
	}

	.custom-checkout-container > *,
	.custom-checkout-container #customer_details {
		margin-top: 0 !important;
		margin-bottom: 0 !important;
	}

	.custom-checkout-container .lot-card-content {
		align-items: flex-start;
		display: grid;
		flex: 1 1 100%;
		grid-template-columns: 127px minmax(0, 1fr);
		justify-content: stretch;
		max-width: 100%;
		min-width: 0;
		width: 100%;
	}

	.custom-checkout-container .lot-card-content .lot-image-container {
		line-height: 0;
	}

	.custom-checkout-container .lot-card-content .lot-image-container img {
		display: block;
	}

	.custom-checkout-container .lot-card-content .lot-info-text {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		flex: 1 1 auto;
		width: 100%;
	}

	.custom-checkout-container .lot-card-content .lot-info-text_rating_time {
		display: block;
		width: 100%;
	}

	.custom-checkout-container .lot-card-content .lot-info-text_rating_time .lot-walk-meta {
		align-items: center;
		display: flex;
		gap: 4px;
		justify-content: flex-start;
		width: auto;
	}

	.custom-checkout-container .lot-card-content .lot-info-text_rating_time .lot-walk-duration,
	.custom-checkout-container .lot-card-content .lot-info-text_rating_time .lot-walk-distance {
		margin: 0;
		white-space: nowrap;
	}

	.custom-checkout-container .lot-card-content .lot-info-text_rating_time .lot-walk-distance {
		margin-left: 0;
		text-align: left;
	}

	.custom-checkout-container .lot-card-content .lot-info-text_services:not(:has(.lot-info-service-item)) {
		display: none;
		margin-top: 0;
	}

	.custom-checkout-container .checkout-lot-header {
		align-items: flex-start;
		box-sizing: border-box;
		display: block;
		height: 149px;
		margin-top: -128px !important;
		min-height: 0;
		order: 1;
		overflow: hidden;
		padding: 11px 16px !important;
	}

	.custom-checkout-container .checkout-sidebar {
		margin-bottom: -14px !important;
		order: 2;
	}

	.custom-checkout-container .booking-summary-card {
		gap: 16px;
		padding-bottom: 12px;
	}

	.custom-checkout-container .selection-header>span {
		font-weight: 700;
		line-height: 18px;
	}

	.custom-checkout-container .selection-row {
		gap: 2px;
	}

	.custom-checkout-container .selection-row>span:first-child {
		font-weight: 700;
		font-size: 12px;
		line-height: 15px;
	}

	.custom-checkout-container .selection-row>span:last-child {
		font-size: 14px;
		line-height: 18px;
	}

	.custom-checkout-container .booking-summary-card p:empty {
		display: none;
	}

	.custom-checkout-container #customer_details,
	.custom-checkout-container .woocommerce-billing-fields_information,
	.custom-checkout-container .checkout-vehicle-section-container,
	.custom-checkout-container .checkout-payment-side,
	.custom-checkout-container .checkout-place-order-container {
		order: 3;
	}

	.custom-checkout-container #customer_details {
		margin: 0 !important;
	}

	.custom-checkout-container .woocommerce-billing-fields_information {
		margin-top: 0 !important;
		margin-bottom: 0 !important;
	}

	.custom-checkout-container .section-summary {
		box-sizing: border-box;
		margin-left: 0;
		padding-left: 0;
		width: 100%;
	}

	.custom-checkout-container .section-summary.show {
		margin-top: 6px;
	}

	.custom-checkout-container .bpn-billing-step-wrapper:not(.is-collapsed),
	.custom-checkout-container .vehicle-details-fields:not(.is-collapsed) {
		margin-top: 18px;
	}

	.custom-checkout-container .bpn-billing-step-wrapper.is-collapsed,
	.custom-checkout-container .vehicle-details-fields.is-collapsed {
		margin-top: 0;
	}

	.custom-checkout-container .checkout-vehicle-section-container {
		margin-top: 0 !important;
		margin-bottom: 0 !important;
	}

	.custom-checkout-container .checkout-payment-side {
		margin-top: 0 !important;
		margin-bottom: 0 !important;
	}

	.custom-checkout-container .woocommerce-billing-fields {
		margin-top: 0 !important;
	}

	.woocommerce-checkout .checkout-payment-side #payment .secure-checkout-conditions-input-selection label {
		gap: 8px;
	}
}

/* Dynamic Checkmark Icon */
.section-title-with-check .check-icon {
	color: #CFCFCF;
	/* Gray for incomplete */
	transition: color 0.3s ease, opacity 0.3s ease;
	display: block !important;
	/* Ensure visibility override */
	opacity: 1 !important;
	visibility: visible !important;
}

.section-title-with-check .check-icon.completed {
	color: #198754;
	/* Green for completed */
}

/* Ensure SVG uses the currentColor */
.section-title-with-check .check-icon path {
	fill: currentColor;
}

/* ========================================================================== */
/* Returning Customer & Coupon Info Messages                                 */
/* ========================================================================== */

/* Target both traditional and WooCommerce Blocks notice banners */
.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-checkout .woocommerce-form-login-toggle .wc-block-components-notice-banner.is-info,
.woocommerce-checkout .woocommerce-form-coupon-toggle .wc-block-components-notice-banner.is-info,
.woocommerce-page.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info,
.woocommerce-page.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-page.woocommerce-checkout .woocommerce-form-login-toggle .wc-block-components-notice-banner.is-info,
.woocommerce-page.woocommerce-checkout .woocommerce-form-coupon-toggle .wc-block-components-notice-banner.is-info {
	font-family: 'Instrument Sans', sans-serif !important;
	background: var(--bpn-theme-background-white) !important;
	border: 1px solid var(--bpn-theme-border-secondary) !important;
	border-left: 4px solid var(--bpn-theme-primary) !important;
	border-radius: 6px !important;
	padding: 16px 20px !important;
	margin-bottom: 20px !important;
	color: var(--bpn-theme-text-primary) !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	line-height: 20px !important;
	letter-spacing: 0.002em !important;
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
	transition: all 0.3s ease !important;
}

.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info:hover,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info:hover,
.woocommerce-checkout .woocommerce-form-login-toggle .wc-block-components-notice-banner.is-info:hover,
.woocommerce-checkout .woocommerce-form-coupon-toggle .wc-block-components-notice-banner.is-info:hover {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
	border-left-color: var(--bpn-theme-primary) !important;
}

/* Hide default WooCommerce Blocks SVG icon */
.woocommerce-checkout .wc-block-components-notice-banner.is-info>svg {
	display: none !important;
}

/* Style the content wrapper for WooCommerce Blocks notices */
.woocommerce-checkout .wc-block-components-notice-banner__content {
	font-family: 'Instrument Sans', sans-serif !important;
	color: var(--bpn-theme-text-primary) !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	line-height: 20px !important;
	letter-spacing: 0.002em !important;
	flex: 1 !important;
}

.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info::before,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before,
.woocommerce-checkout .woocommerce-form-login-toggle .wc-block-components-notice-banner.is-info::before,
.woocommerce-checkout .woocommerce-form-coupon-toggle .wc-block-components-notice-banner.is-info::before {
	content: '' !important;
	display: inline-block !important;
	width: 20px !important;
	height: 20px !important;
	flex-shrink: 0 !important;
	background-size: contain !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
}

.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info::before,
.woocommerce-checkout .woocommerce-form-login-toggle .wc-block-components-notice-banner.is-info::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D20D33' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'%3E%3C/path%3E%3Ccircle cx='12' cy='7' r='4'%3E%3C/circle%3E%3C/svg%3E") !important;
}

.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before,
.woocommerce-checkout .woocommerce-form-coupon-toggle .wc-block-components-notice-banner.is-info::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D20D33' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 12 20 22 4 22 4 12'%3E%3C/polyline%3E%3Crect x='2' y='7' width='20' height='5'%3E%3C/rect%3E%3Cline x1='12' y1='22' x2='12' y2='7'%3E%3C/line%3E%3Cpath d='M12 7H7.5a2.5 2.5 0 0 1 0-5C11 2 12 7 12 7z'%3E%3C/path%3E%3Cpath d='M12 7h4.5a2.5 2.5 0 0 0 0-5C13 2 12 7 12 7z'%3E%3C/path%3E%3C/svg%3E") !important;
}

.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info .showlogin,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info .showcoupon,
.woocommerce-checkout .woocommerce-form-login-toggle .wc-block-components-notice-banner.is-info .showlogin,
.woocommerce-checkout .woocommerce-form-coupon-toggle .wc-block-components-notice-banner.is-info .showcoupon {
	color: var(--bpn-theme-text-primary) !important;
	font-weight: 500 !important;
	text-decoration: none !important;
	border-bottom: 1px solid transparent !important;
	transition: all 0.2s ease !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 4px !important;
}

.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info .showlogin::after,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info .showcoupon::after,
.woocommerce-checkout .woocommerce-form-login-toggle .wc-block-components-notice-banner.is-info .showlogin::after,
.woocommerce-checkout .woocommerce-form-coupon-toggle .wc-block-components-notice-banner.is-info .showcoupon::after {
	content: '→' !important;
	font-size: 16px !important;
	transition: transform 0.2s ease !important;
}

.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info .showlogin:hover,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info .showcoupon:hover,
.woocommerce-checkout .woocommerce-form-login-toggle .wc-block-components-notice-banner.is-info .showlogin:hover,
.woocommerce-checkout .woocommerce-form-coupon-toggle .wc-block-components-notice-banner.is-info .showcoupon:hover {
	color: var(--bpn-theme-primary) !important;
	border-bottom-color: var(--bpn-theme-primary) !important;
}

.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info .showlogin:hover::after,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info .showcoupon:hover::after,
.woocommerce-checkout .woocommerce-form-login-toggle .wc-block-components-notice-banner.is-info .showlogin:hover::after,
.woocommerce-checkout .woocommerce-form-coupon-toggle .wc-block-components-notice-banner.is-info .showcoupon:hover::after {
	transform: translateX(3px) !important;
}

/* Login and Coupon Forms */
.woocommerce-checkout .woocommerce-form-login,
.woocommerce-checkout .woocommerce-form-coupon {
	background: #FFFFFF !important;
	border: 1px solid #E8E8E8 !important;
	border-radius: 6px !important;
	padding: 24px !important;
	margin-bottom: 24px !important;
	animation: slideInDown 0.4s ease !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.woocommerce-checkout .woocommerce-form-login p,
.woocommerce-checkout .woocommerce-form-coupon p {
	font-family: 'Instrument Sans', sans-serif !important;
	color: #434343 !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	line-height: 20px !important;
	letter-spacing: 0.002em !important;
	margin-bottom: 16px !important;
}

.woocommerce-checkout .woocommerce-form-login .form-row,
.woocommerce-checkout .woocommerce-form-coupon .form-row {
	margin-bottom: 16px !important;
}

.woocommerce-checkout .woocommerce-form-login label,
.woocommerce-checkout .woocommerce-form-coupon label {
	font-family: 'Instrument Sans', sans-serif !important;
	color: #434343 !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 20px !important;
	letter-spacing: 0.002em !important;
	margin-bottom: 8px !important;
	display: block !important;
}

.woocommerce-checkout .woocommerce-form-login input[type="text"],
.woocommerce-checkout .woocommerce-form-login input[type="password"],
.woocommerce-checkout .woocommerce-form-coupon input[type="text"] {
	font-family: 'Instrument Sans', sans-serif !important;
	background: #FFFFFF !important;
	border: 1px solid #E8E8E8 !important;
	border-radius: 6px !important;
	color: var(--bpn-theme-text-primary) !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	line-height: 20px !important;
	letter-spacing: 0.002em !important;
	height: 48px !important;
	padding: 8px 16px !important;
	width: 100% !important;
	box-sizing: border-box !important;
	transition: all 0.3s ease !important;
}

.woocommerce-checkout .woocommerce-form-login input[type="text"]:focus,
.woocommerce-checkout .woocommerce-form-login input[type="password"]:focus,
.woocommerce-checkout .woocommerce-form-coupon input[type="text"]:focus {
	border-color: #F5C825 !important;
	outline: none !important;
	box-shadow: 0 0 0 3px rgba(245, 200, 37, 0.1) !important;
}

.woocommerce-checkout .woocommerce-form-login .button,
.woocommerce-checkout .woocommerce-form-coupon .button {
	font-family: 'Instrument Sans', sans-serif !important;
	background: #F5C825 !important;
	border: none !important;
	border-radius: 6px !important;
	color: var(--bpn-theme-text-primary) !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 17px !important;
	text-align: center !important;
	padding: 12px 24px !important;
	height: 44px !important;
	text-transform: none !important;
	cursor: pointer !important;
	transition: all 0.3s ease !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
}

.woocommerce-checkout .woocommerce-form-login .button:hover,
.woocommerce-checkout .woocommerce-form-coupon .button:hover {
	background: #e5b800 !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 4px 12px rgba(245, 200, 37, 0.3) !important;
}

.woocommerce-checkout .woocommerce-form-login .button:active,
.woocommerce-checkout .woocommerce-form-coupon .button:active {
	transform: translateY(0) !important;
	box-shadow: 0 2px 6px rgba(245, 200, 37, 0.2) !important;
}

.woocommerce-checkout .woocommerce-form-login .lost_password {
	margin-top: 12px !important;
}

.woocommerce-checkout .woocommerce-form-login .lost_password a {
	font-family: 'Instrument Sans', sans-serif !important;
	color: #5F6368 !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	text-decoration: none !important;
	transition: color 0.2s ease !important;
}

.woocommerce-checkout .woocommerce-form-login .lost_password a:hover {
	color: #F5C825 !important;
	text-decoration: underline !important;
}

/* Next Step Button */
.bpn-next-step-actions {
	clear: both;
	display: block;
	width: 100%;
	margin-top: 20px;
}

.bpn-next-step-btn {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	padding: 10px 20px;
	gap: 10px;
	width: 100%;
	height: 44px;
	background: var(--bpn-theme-primary);
	border: none;
	border-radius: 6px;
	appearance: none;
	-webkit-appearance: none;
	font-family: 'Instrument Sans', sans-serif;
	font-style: normal;
	font-weight: 500;
	font-size: 14px;
	line-height: 1.2;
	color: var(--bpn-theme-background-white);
	cursor: pointer;
	transition: all 0.3s ease;
	margin-top: 0;
	order: 999;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
}

.bpn-next-step-btn:hover {
	filter: brightness(0.9);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.bpn-next-step-btn:active {
	transform: translateY(0);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.bpn-next-step-btn:disabled {
	background: var(--bpn-theme-border-secondary);
	color: var(--bpn-theme-secondary-gray-icons);
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

/* Hide Next buttons when sections are collapsed */
.bpn-billing-step-wrapper.is-collapsed .bpn-next-step-btn,
.vehicle-details-fields.is-collapsed .bpn-next-step-btn,
.bpn-billing-step-wrapper.is-collapsed #bpn-next-to-vehicle,
.vehicle-details-fields.is-collapsed #bpn-next-to-payment {
	display: none !important;
	opacity: 0;
	visibility: hidden;
	height: 0;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

/* Checkbox styling - Yellow background with white checkmark */
.woocommerce-checkout input[type="checkbox"],
.woocommerce-checkout #terms,
.woocommerce-checkout input[type="checkbox"]#terms {
	appearance: none !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	width: 20px !important;
	height: 20px !important;
	min-width: 20px !important;
	min-height: 20px !important;
	max-width: 20px !important;
	max-height: 20px !important;
	padding: 0 !important;
	box-sizing: border-box !important;
	border: 2px solid #E8E8E8 !important;
	border-radius: 3px !important;
	background-color: #FFFFFF !important;
	background-image: none !important;
	cursor: pointer !important;
	position: relative !important;
	transition: all 0.2s ease !important;
	vertical-align: middle !important;
	margin: 0 8px 0 0 !important;
}

.woocommerce-checkout input[type="checkbox"]:hover,
.woocommerce-checkout #terms:hover {
	border-color: var(--bpn-theme-primary) !important;
	transform: scale(1.05);
}

.woocommerce-checkout input[type="checkbox"]:focus,
.woocommerce-checkout #terms:focus {
	outline: 2px solid var(--bpn-theme-primary) !important;
	outline-offset: 2px !important;
}

.woocommerce-checkout input[type="checkbox"]:checked,
.woocommerce-checkout #terms:checked {
	background-color: var(--bpn-theme-primary) !important;
	border-color: var(--bpn-theme-primary) !important;
	background-image: none !important;
}

.woocommerce-checkout input[type="checkbox"]:checked::after,
.woocommerce-checkout #terms:checked::after {
	content: '' !important;
	position: absolute !important;
	display: block !important;
	left: 5px !important;
	top: 1px !important;
	width: 5px !important;
	height: 10px !important;
	border: solid #FFFFFF !important;
	border-width: 0 2px 2px 0 !important;
	transform: rotate(45deg) !important;
}

/* -------------------------------------------------------------------------- */
/* Date Edit Modal Styles                                                     */
/* -------------------------------------------------------------------------- */

.bpn-modal {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.bpn-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(2px);
}

.bpn-modal-container {
	position: relative;
	background: #fff;
	border-radius: 2px;
	max-width: 500px;
	width: 90%;
	max-height: 90vh;
	overflow: auto;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
	animation: modalSlideIn 0.2s ease;
}

@keyframes modalSlideIn {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.bpn-modal-header {
	padding: 20px 24px;
	border-bottom: 1px solid #E8E8E8;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.bpn-modal-header h3 {
	margin: 0;
	font-size: 20px;
	font-weight: 600;
	color: var(--bpn-theme-text-primary);
}

.bpn-modal-close {
	background: none;
	border: none;
	font-size: 28px;
	line-height: 1;
	color: #666;
	cursor: pointer;
	padding: 0;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	transition: background 0.2s;
}

.bpn-modal-close:hover {
	background: #f0f0f0;
	color: var(--bpn-theme-text-primary);
}

.bpn-modal-body {
	padding: 24px;
}

.bpn-modal-field {
	margin-bottom: 20px;
}

.bpn-modal-field label {
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
	color: var(--bpn-theme-text-primary);
	font-size: 14px;
}

.bpn-modal-field input[type="datetime-local"] {
	width: 100%;
	height: 48px;
	padding: 8px 16px;
	border: 1px solid #E8E8E8;
	border-radius: 6px;
	font-size: 14px;
	font-family: 'Instrument Sans', sans-serif;
	transition: border-color 0.2s;
}

.bpn-modal-field input[type="datetime-local"]:focus {
	outline: none;
	border-color: #F5C825;
	box-shadow: 0 0 0 3px rgba(245, 200, 37, 0.1);
}

.bpn-modal-error {
	background: var(--bpn-theme-primary-light);
	border: 1px solid var(--bpn-theme-error);
	border-radius: 2px;
	padding: 12px 16px;
	color: var(--bpn-theme-error);
	font-size: 14px;
	margin-top: 16px;
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.bpn-modal-loading {
	background: var(--bpn-theme-background-light-gray);
	border: 1px solid var(--bpn-theme-border-secondary);
	border-radius: 2px;
	padding: 12px 16px;
	color: var(--bpn-theme-info-completed);
	font-size: 14px;
	margin-top: 16px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.bpn-modal-loading .spinner {
	display: inline-block;
	width: 16px;
	height: 16px;
	border: 2px solid var(--bpn-theme-border-secondary);
	border-top-color: var(--bpn-theme-info-completed);
	border-radius: 50%;
	animation: spin 0.6s linear infinite;
}

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

.bpn-modal-footer {
	padding: 16px 24px;
	border-top: 1px solid var(--bpn-theme-border-secondary);
	display: flex;
	gap: 12px;
	justify-content: flex-end;
}

.bpn-modal-footer .button {
	height: 44px;
	padding: 0 24px;
	border-radius: 6px;
	font-weight: 500;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.2s;
	border: none;
	font-family: 'Instrument Sans', sans-serif;
}

.bpn-modal-footer .button-secondary {
	background: var(--bpn-theme-background-white);
	border: 1px solid var(--bpn-theme-border-secondary);
	color: var(--bpn-theme-text-primary);
}

.bpn-modal-footer .button-secondary:hover {
	background: var(--bpn-theme-background-light-gray);
	border-color: var(--bpn-theme-border-default);
}

.bpn-modal-footer .button-primary {
	background: var(--bpn-theme-primary);
	color: var(--bpn-theme-background-white);
}

.bpn-modal-footer .button-primary:hover {
	filter: brightness(0.9);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.bpn-modal-footer .button-primary:active {
	transform: translateY(0);
}

/* -------------------------------------------------------------------------- */
/* Terms & Conditions Modal                                                  */
/* -------------------------------------------------------------------------- */

.bpn-tc-modal-container {
	max-width: 80%;
	width: 80%;
	max-height: 80vh;
	display: flex;
	flex-direction: column;
}

.bpn-tc-modal-container .bpn-modal-body {
	flex: 1;
	overflow-y: auto;
	padding: 24px 32px;
}

.bpn-tc-last-updated {
	font-size: 13px;
	color: #888;
	margin: 0 0 16px 0;
	padding-bottom: 12px;
	border-bottom: 1px solid #E8E8E8;
}

.bpn-tc-last-updated:empty {
	display: none;
}

@media (max-width: 768px) {
	.bpn-tc-modal-container {
		max-width: 95%;
		width: 95%;
		max-height: 90vh;
	}

	.bpn-tc-modal-container .bpn-modal-body {
		padding: 16px 20px;
	}
}

/* Style WordPress content inside modal */
.bpn-tc-modal-content {
	font-family: 'Instrument Sans', sans-serif;
	color: var(--bpn-theme-text-primary);
	line-height: 1.6;
	max-height: 60vh;
	overflow-y: auto;
}

.bpn-tc-modal-content h1,
.bpn-tc-modal-content h2,
.bpn-tc-modal-content h3,
.bpn-tc-modal-content h4 {
	color: var(--bpn-theme-text-primary);
	font-weight: 600;
	margin-top: 24px;
	margin-bottom: 12px;
	line-height: 1.3;
}

.bpn-tc-modal-content h1 {
	font-size: 24px;
}

.bpn-tc-modal-content h2 {
	font-size: 20px;
}

.bpn-tc-modal-content h3 {
	font-size: 18px;
}

.bpn-tc-modal-content h4 {
	font-size: 16px;
}

.bpn-tc-modal-content p {
	margin-bottom: 16px;
	font-size: 14px;
}

.bpn-tc-modal-content ul,
.bpn-tc-modal-content ol {
	margin-bottom: 16px;
	padding-left: 24px;
}

.bpn-tc-modal-content li {
	margin-bottom: 8px;
	font-size: 14px;
}

.bpn-tc-modal-content a {
	color: #F5C825;
	text-decoration: underline;
	transition: color 0.2s;
}

.bpn-tc-modal-content a:hover {
	color: #e5b800;
}

.bpn-tc-modal-content strong {
	font-weight: 600;
	color: var(--bpn-theme-text-primary);
}

/* Scrollbar styling for modal content */
.bpn-tc-modal-content::-webkit-scrollbar {
	width: 8px;
}

.bpn-tc-modal-content::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 4px;
}

.bpn-tc-modal-content::-webkit-scrollbar-thumb {
	background: #ccc;
	border-radius: 4px;
}

.bpn-tc-modal-content::-webkit-scrollbar-thumb:hover {
	background: #999;
}

/* -------------------------------------------------------------------------- */
/* Cancel Modal                                                 			  */
/* -------------------------------------------------------------------------- */
.parking-ticket-wrapper_cancel_modal_overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	/* Fondo oscuro semitransparente */
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 99999;
	/* Por encima de todo */
}

.parking-ticket-wrapper_cancel_modal {
	background: white;
	padding: 20px;
	border-radius: 2px;
	width: 90%;
	max-width: 400px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
	text-align: center;
}

.parking-ticket-wrapper_cancel_modal_overlay h3 {
	margin-bottom: 0 !important;
	text-align: center;
	width: 100%;
}

.parking-ticket-wrapper_cancel_modal .btn-action.btn-solid-red,
.buttons-container .btn-action.btn-solid-red {
	border: 1px solid #C63C3C;
	background-color: #C63C3C;
	color: #FFFFFF !important;
}

.parking-ticket-wrapper_cancel_modal .btn-action.btn-outline-red,
.buttons-container .btn-action.btn-outline-red {
	border: 1px solid #C63C3C;
}

#refund-modal #parking-ticket-wrapper_buttons_button_no {
	color: var(--bpn-theme-text_primary);
}

.parking-ticket-wrapper_cancel_modal .btn-action.btn-solid-red:hover,
.buttons-container .btn-action.btn-solid-red:hover,
.parking-ticket-wrapper_cancel_modal .btn-action.btn-solid-red:active,
.buttons-container .btn-action.btn-solid-red:active,
.parking-ticket-wrapper_cancel_modal .btn-action.btn-outline-red:hover,
.buttons-container .btn-action.btn-outline-red:hover,
.parking-ticket-wrapper_cancel_modal .btn-action.btn-outline-red:active,
.buttons-container .btn-action.btn-outline-red:active {
	transform: translateY(-2px);
}

.parking-ticket-wrapper_cancel_modal_header {
	position: relative;
	/* Base para el posicionamiento absoluto */
	display: flex;
	justify-content: center;
	/* Centra el contenido horizontalmente */
	align-items: center;
	margin-bottom: 25px;
	min-height: 30px;
	/* Asegura espacio para el icono */
	margin-bottom: 1.2em;
}

.modal-close-icon {
	position: absolute;
	right: 0;
	/* Lo pega al borde derecho del header */
	background: none;
	border: none;
	padding: 5px;
	cursor: pointer;
	display: flex;
	transition: opacity 0.2s;
}

.modal-close-icon:hover {
	opacity: 0.7;
}

/* -------------------------------------------------------------------------- */
/* My Account Section                                               		  */
/* -------------------------------------------------------------------------- */
.woocommerce .woocommerce-MyAccount-content .order-again {
	display: none;
}

/* Datepicker Override                                                        */
/* -------------------------------------------------------------------------- */
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_current,
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_current:hover {
	background: var(--bpn-theme-primary) !important;
	box-shadow: var(--bpn-theme-primary) 0 1px 3px 0 inset !important;
	color: var(--bpn-theme-background-white) !important;
	font-weight: 700;
}

.xdsoft_datetimepicker .xdsoft_calendar td:hover,
.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box>div>div:hover {
	background: var(--bpn-theme-primary-light) !important;
	color: var(--bpn-theme-text-primary) !important;
}

.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box>div>div.xdsoft_current,
.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box>div>div.xdsoft_current:hover {
	background: var(--bpn-theme-primary) !important;
	box-shadow: var(--bpn-theme-primary) 0 1px 3px 0 inset !important;
	color: var(--bpn-theme-background-white) !important;
	font-weight: 700;
}

.xdsoft_datetimepicker .xdsoft_label>.xdsoft_select>div>.xdsoft_option.xdsoft_current {
	background: var(--bpn-theme-primary) !important;
	box-shadow: var(--bpn-theme-primary) 0 1px 3px 0 inset !important;
	color: var(--bpn-theme-background-white) !important;
	font-weight: 700;
}

.xdsoft_datetimepicker .xdsoft_label>.xdsoft_select>div>.xdsoft_option:hover {
	background: var(--bpn-theme-primary-light) !important;
	color: var(--bpn-theme-text-primary) !important;
}

.xdsoft_datetimepicker .xdsoft_today_button:hover {
	color: var(--bpn-theme-primary) !important;
}

/* Ensure nice input styling for the modal inputs when text type */
#bpn-edit-entry,
#bpn-edit-exit {
	font-family: 'Instrument Sans', sans-serif;
	background: #FFFFFF;
	border: 1px solid #E8E8E8;
	border-radius: 6px;
	color: var(--bpn-theme-text-primary);
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	height: 48px;
	padding: 8px 16px;
	width: 100%;
	box-sizing: border-box;
	transition: all 0.3s ease;
}

#bpn-edit-entry:focus,
#bpn-edit-exit:focus {
	border-color: var(--bpn-theme-text-primary);
	outline: none;
	box-shadow: 0 0 0 3px rgba(42, 42, 42, 0.1);
}

/* ——— Inline payment form loading state ——— */
.bpn-payment-loading {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 40px 20px;
	gap: 12px;
	color: #5F6368;
	font-size: 14px;
}

.bpn-spinner {
	width: 32px;
	height: 32px;
	border: 3px solid #E8E8E8;
	border-top-color: #F5C825;
	border-radius: 50%;
	animation: bpn-spin 0.7s linear infinite;
}

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

/* --- BPN Checkout UX --- */
/* Hide the Place Order button until the Elavon form is ready */
form.checkout #place_order {
	display: none;
}

/* Show it again once BPN injects it (set via JS) */
form.checkout #place_order[style*='display'] {
	display: block !important;
}

/* Field validation highlight */
.bpn-field-error {
	border-color: #d32f2f !important;
	box-shadow: 0 0 0 2px rgba(211, 47, 47, 0.2) !important;
}

/* ── BPN Custom Card Form ────────────────────────────────────────────────── */
.bpn-card-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.bpn-cf-row {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.bpn-cf-label {
	font-family: 'Instrument Sans', sans-serif;
	font-size: 12px;
	font-weight: 600;
	color: var(--bpn-theme-text-primary);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.bpn-cf-input {
	font-family: 'Instrument Sans', sans-serif;
	height: 48px;
	padding: 8px 16px;
	border: 1px solid #E8E8E8;
	border-radius: 6px;
	font-size: 15px;
	color: var(--bpn-theme-text-primary);
	background: #FFFFFF;
	box-sizing: border-box;
	width: 100%;
	outline: none;
	transition: border-color 0.2s;
	letter-spacing: 0.06em;
}

.bpn-cf-input:focus {
	border-color: var(--bpn-theme-text-primary);
	box-shadow: 0 0 0 2px rgba(42, 42, 42, 0.08);
}

.bpn-cf-input.has-error {
	border-color: #d32f2f;
	box-shadow: 0 0 0 2px rgba(211, 47, 47, 0.15);
}

.bpn-cf-input-wrap {
	position: relative;
}

.bpn-cf-input-wrap .bpn-cf-input {
	padding-right: 44px;
}

.bpn-cf-two-col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

@media (max-width: 480px) {
	.bpn-cf-two-col {
		grid-template-columns: 1fr;
	}
}

.bpn-cf-cvv-hint {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #E8E8E8;
	color: #777;
	font-size: 11px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: help;
	user-select: none;
}

.bpn-cf-security {
	font-family: 'Instrument Sans', sans-serif;
	font-size: 12px;
	color: #999;
	margin: 0;
	padding-top: 4px;
}

/* Terms checkbox inside injected card form */
.bpn-card-form .secure-checkout-conditions-input-selection {
	margin-top: 12px;
	padding-top: 16px;
	border-top: 1px solid #E8E8E8;
}

.bpn-cf-terms-label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
}

.bpn-cf-terms-label input[type="checkbox"] {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	accent-color: var(--bpn-theme-text-primary);
	cursor: pointer;
}

.bpn-cf-terms-label span {
	font-family: 'Instrument Sans', sans-serif;
	font-size: 13px;
	color: #555;
	line-height: 1.5;
}

.bpn-cf-terms-label a {
	color: var(--bpn-theme-text-primary);
	text-decoration: underline;
}

.bpn-card-form .secure-checkout-conditions-input-selection.hasError .bpn-cf-terms-label input[type="checkbox"] {
	outline: 2px solid #e53935;
}

.bpn-card-form .field-error {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 6px;
	font-family: 'Instrument Sans', sans-serif;
	font-size: 12px;
	color: #e53935;
}

/* WooCommerce cart live region — aria-live accessibility element.
   position: fixed removes it from document flow entirely so it never causes scrollbar,
   while keeping it accessible to screen readers (aria-live works with fixed elements). */
.widget_shopping_cart_live_region {
	position: fixed !important;
	top: 0 !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

/* =========================================================================
   My Account - Payment Methods Redesign
   ========================================================================= */

.bpn-payment-methods-wrapper {
	width: 100%;
	display: block;
}

.bpn-payment-methods-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 24px;
	width: 100%;
}

.bpn-payment-methods-header h3 {
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 700;
	font-size: 24px;
	line-height: 29px;
	color: var(--bpn-theme-text-primary);
	margin: 0;
}

.bpn-add-card-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--bpn-theme-primary) !important;
	color: var(--bpn-theme-background-white) !important;
	font-family: 'Instrument Sans', sans-serif !important;
	font-weight: 600 !important;
	font-size: 14px !important;
	padding: 10px 14px !important;
	border-radius: 2px !important;
	border: none !important;
	text-decoration: none;
	transition: background 0.3s ease;
	line-height: 1.2;
}

.bpn-add-card-btn:hover {
	filter: brightness(0.9);
}

.bpn-add-card-btn svg {
	width: 14px;
	height: 14px;
}

.bpn-payment-methods-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
	gap: 20px;
	margin-bottom: 24px;
}

.bpn-payment-method-card {
	background: #FFFFFF;
	border: 1px solid #EAEAEA;
	border-radius: 6px;
	padding: 24px;
	display: flex;
	gap: 16px;
	position: relative;
	transition: border-color 0.3s ease;
}

.bpn-payment-method-card:hover {
	border-color: #D0D0D0;
}

.bpn-payment-method-card.is-expired {
	border: 1px solid #FFCDD2;
	background: #FBFAFC;
}

/* Card Logo */
.bpn-card-logo {
	flex: 0 0 40px;
	height: 24px;
	margin-top: 2px;
}

/* Card Details */
.bpn-card-details {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.bpn-card-header {
	display: flex;
	align-items: center;
	gap: 12px;
}

.bpn-card-name {
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 600;
	font-size: 16px;
	color: var(--bpn-theme-text-primary);
}

.bpn-badge {
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 700;
	font-size: 10px;
	line-height: 12px;
	padding: 4px 8px;
	border-radius: 100px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.bpn-badge-primary {
	background: var(--bpn-theme-primary-light);
	color: var(--bpn-theme-primary);
}

.bpn-badge-expired {
	background: #FFEDED;
	color: #D32F2F;
}

.bpn-card-meta {
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 400;
	font-size: 14px;
	color: #666666;
	display: flex;
	align-items: center;
	gap: 8px;
}

.bpn-expired-text {
	color: #D32F2F;
}

.bpn-dot-separator {
	color: #999999;
}

.bpn-card-billing {
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 400;
	font-size: 14px;
	color: #999999;
	margin-top: 2px;
}

/* Action Dropdown (3 dots) */
.bpn-card-actions {
	position: absolute;
	top: 24px;
	right: 16px;
}

.bpn-dropdown {
	position: relative;
}

.bpn-dropdown-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	padding: 3px 7px;
	cursor: pointer;
	line-height: 0;
}

.bpn-dropdown-menu {
	display: none;
	position: absolute;
	right: 0;
	top: 100%;
	background: white;
	min-width: 150px;
	box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
	border-radius: 6px;
	border: 1px solid #EAEAEA;
	z-index: 10;
	overflow: hidden;
}

.bpn-dropdown.is-open .bpn-dropdown-menu {
	display: flex;
	flex-direction: column;
}

.bpn-dropdown-menu .button {
	display: block;
	padding: 12px 16px;
	color: var(--bpn-theme-text-primary);
	text-decoration: none;
	background: none !important;
	border: none !important;
	font-family: 'Instrument Sans', sans-serif;
	font-size: 14px;
	text-align: left;
	width: 100%;
	margin: 0 !important;
	border-radius: 0 !important;
	transition: background 0.2s ease;
}

.bpn-dropdown-menu .button:hover {
	background: #F9F9F9 !important;
	color: var(--bpn-theme-text-primary) !important;
}

.bpn-dropdown-menu .button.delete:hover {
	color: #D32F2F !important;
}

.bpn-dropdown-menu .button.delete {
	color: #D32F2F;
}

/* Secure Payment Footer */
.bpn-secure-payment-footer {
	background: #FFFFFF;
	border-radius: 6px;
	padding: 24px;
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.bpn-secure-payment-footer svg {
	flex: 0 0 12px;
	margin-top: 4px;
}

.bpn-secure-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.bpn-secure-text h4 {
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 600;
	font-size: 14px;
	color: var(--bpn-theme-text-primary);
	margin: 0;
}

.bpn-secure-text p {
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 400;
	font-size: 14px;
	color: #666666;
	margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
	.bpn-payment-methods-grid {
		grid-template-columns: 1fr;
	}

	.bpn-payment-methods-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}
}

/* =========================================================================
   Checkout - Restyled Saved Payment Methods
   ========================================================================= */

.bpn-restyled-tokens {
	margin-top: 16px;
}

.bpn-hidden-radio {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.bpn-checkout-card-label {
	display: block;
	cursor: pointer;
	margin-bottom: 16px;
	width: 100%;
}

.bpn-checkout-saved-card-box {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border: 1px solid #EAEAEA;
	border-radius: 6px;
	padding: 16px;
	background: #FFFFFF;
	transition: all 0.2s ease;
}

/* Checked state styling via preceding input */
input.bpn-hidden-radio:checked+.bpn-checkout-saved-card-box {
	border-color: var(--bpn-theme-text-primary);
	box-shadow: 0 0 0 1px var(--bpn-theme-text-primary);
	/* Slight emphasis to show it's selected */
}

.bpn-checkout-card-content {
	display: flex;
	align-items: center;
	gap: 16px;
}

.bpn-card-brand img {
	max-height: 24px;
	width: auto;
	object-fit: contain;
}

.bpn-card-info {
	display: flex;
	flex-direction: column;
}

.bpn-card-title {
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 500;
	font-size: 14px;
	color: var(--bpn-theme-text-primary);
}

.bpn-card-exp {
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 400;
	font-size: 13px;
	color: #666666;
	margin-top: 2px;
}

.bpn-use-new-card-wrapper {
	margin-top: 8px;
	margin-bottom: 24px;
	border: 1px dashed #D0D0D0;
	border-radius: 6px;
	padding: 14px 16px;
	background: #FAFAFA;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.bpn-use-new-card-wrapper:hover {
	border-color: var(--bpn-theme-text-primary);
	background: #F5F5F5;
}

.bpn-use-new-card-label {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	gap: 8px;
	cursor: pointer;
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 600;
	font-size: 14px;
	color: #434343;
	line-height: 1;
	margin: 0;
	width: 100%;
}

.bpn-use-new-card-label svg {
	display: block !important;
	flex-shrink: 0;
	margin-right: 4px;
}

/* ============================================================
   MY ACCOUNT — PARKING ORDERS LIST
   (Styles live in bpn-account.css in the theme)
   ============================================================ */

/* ============================================================
   ORDER DETAIL — INLINE LPN EDIT
   ============================================================ */

.bpn-lpn-edit-section {
	margin: 20px 0;
	padding: 16px 20px;
	background: #FAFAFA;
	border: 1px solid #E8E8E8;
	border-radius: 2px;
	font-family: 'Instrument Sans', sans-serif;
}

.bpn-lpn-display {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.bpn-lpn-label {
	font-size: 14px;
	font-weight: 600;
	color: var(--bpn-theme-text-primary);
}

.bpn-lpn-value {
	font-size: 15px;
	font-weight: 700;
	color: var(--bpn-theme-text-primary);
	letter-spacing: 0.05em;
}

.bpn-lpn-edit-btn {
	background: none;
	border: 1px solid var(--bpn-theme-text-primary);
	border-radius: 6px;
	padding: 4px 12px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	font-family: 'Instrument Sans', sans-serif;
	color: var(--bpn-theme-text-primary);
	transition: background 0.15s, color 0.15s;
}

.bpn-lpn-edit-btn:hover {
	background: var(--bpn-theme-text-primary);
	color: #fff;
}

.bpn-lpn-form {
	margin-top: 12px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.bpn-lpn-input {
	height: 44px;
	border: 1px solid #E8E8E8;
	border-radius: 6px;
	padding: 0 14px;
	font-size: 15px;
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--bpn-theme-text-primary);
	width: 100%;
	max-width: 260px;
	box-sizing: border-box;
	outline: none;
}

.bpn-lpn-input:focus {
	border-color: var(--bpn-theme-text-primary);
}

.bpn-lpn-form-actions {
	display: flex;
	gap: 10px;
}

.bpn-btn-primary {
	background: #F5C825;
	color: var(--bpn-theme-text-primary);
	border: none;
	border-radius: 6px;
	padding: 8px 20px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	font-family: 'Instrument Sans', sans-serif;
	transition: opacity 0.15s;
}

.bpn-btn-primary:hover {
	opacity: 0.85;
}

.bpn-btn-primary:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.bpn-btn-secondary {
	background: #fff;
	color: var(--bpn-theme-text-primary);
	border: 1px solid #E8E8E8;
	border-radius: 6px;
	padding: 8px 20px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	font-family: 'Instrument Sans', sans-serif;
	transition: border-color 0.15s;
}

.bpn-btn-secondary:hover {
	border-color: var(--bpn-theme-text-primary);
}

.bpn-lpn-msg {
	font-size: 13px;
	font-weight: 600;
	margin: 0;
}

.bpn-lpn-msg--success {
	color: #1A7A3C;
}

.bpn-lpn-msg--error {
	color: #C0392B;
}

/* Checkout Input Icons */
.woocommerce-checkout main #form-lot-checkout #billing_email {
	background-image: url('../images/email-icon.png');
	background-position: 16px center;
	background-repeat: no-repeat;
	padding-left: 48px !important;
}

.woocommerce-checkout main #form-lot-checkout #billing_first_name {
	background-image: url('../images/name-icon.png');
	background-position: 16px center;
	background-repeat: no-repeat;
	padding-left: 48px !important;
}

.woocommerce-checkout main #form-lot-checkout #billing_phone {
	background-image: url('../images/phone-icon.png');
	background-position: 16px center;
	background-repeat: no-repeat;
	padding-left: 48px !important;
}

/* Hide unneeded checkout fields */
.bpn-hidden-checkout-field,
.woocommerce-additional-fields,
.woocommerce-account-fields {
	display: none !important;
}

/* =========================================================================
   Vehicle Radio Card List (TNP-746)
   ========================================================================= */

.bpn-vehicle-section-desc {
	font-size: 14px;
	color: #6B6B6B;
	margin: 0 0 20px;
	line-height: 1.5;
}

.bpn-vehicle-radio-list {
	display: flex;
	flex-direction: column;
	width: 100%;
	gap: 8px;
	margin-bottom: 0;
	--bpn-vehicle-accent: var(--bpn-widget-primary-button, var(--bpn-theme-primary));
	--bpn-vehicle-accent-soft: color-mix(in srgb, var(--bpn-vehicle-accent) 12%, var(--bpn-theme-background-white));
}

.bpn-vehicle-radio-card {
	display: flex !important;
	align-items: center;
	gap: 12px;
	padding: 16px 20px;
	width: 100%;
	border: 1px solid var(--bpn-theme-border-secondary);
	border-radius: 2px;
	background: var(--bpn-theme-background-white);
	cursor: pointer;
	transition: border-color 0.15s;
	box-sizing: border-box;
}

.bpn-vehicle-radio-card:hover {
	border-color: var(--bpn-theme-border-default);
}

/* Selected state */
.bpn-vehicle-radio-card:has(.bpn-vehicle-radio-input:checked) {
	border-color: var(--bpn-vehicle-accent);
}

.bpn-vehicle-radio-card:has(.bpn-vehicle-radio-input:checked) .bpn-vehicle-card-icon {
	background: var(--bpn-vehicle-accent-soft);
	color: var(--bpn-vehicle-accent);
}

.bpn-vehicle-card-icon {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	background: var(--bpn-theme-background-light-gray);
	border-radius: 2px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--bpn-theme-secondary-gray-icons);
}

.bpn-vehicle-card-icon.is-default {
	background: var(--bpn-vehicle-accent-soft);
	color: var(--bpn-vehicle-accent);
}

.bpn-vehicle-card-info {
	flex: 1;
	min-width: 0;
	display: inline-flex;
	flex-direction: column;
}

.bpn-vehicle-card-title {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.bpn-vehicle-card-name {
	font-size: 16px;
	font-weight: 700;
	color: var(--bpn-theme-text-primary);
}

.bpn-vehicle-default-badge {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--bpn-vehicle-accent);
	background: var(--bpn-vehicle-accent-soft);
	border: 1px solid var(--bpn-vehicle-accent);
	border-radius: 2px;
	padding: 2px 8px;
}

.bpn-vehicle-card-subtitle {
	font-size: 14px;
	color: #6B6B6B;
	margin-top: 2px;
}

.bpn-vehicle-card-radio {
	display: none;
}

/* Custom radio button — hidden visually but remains in DOM for JS */
.bpn-vehicle-radio-input {
	display: none;
}

/* "Use a different vehicle" card — full dashed border, dash pattern 4,4 via SVG background */
.bpn-vehicle-new-card {
	border: none;
	border-radius: 2px;
	padding: 12px 16px;
	gap: 11px;
	min-height: 68px;
	background-color: var(--bpn-theme-background-white);
	background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='2' ry='2' stroke='%23CBD5E1' stroke-width='1' stroke-dasharray='4%2c4' stroke-dashoffset='0' stroke-linecap='square'/%3e%3c/svg%3e");
}

.bpn-vehicle-new-card:hover {
	background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='2' ry='2' stroke='%23CBD5E1' stroke-width='1' stroke-dasharray='4%2c4' stroke-dashoffset='0' stroke-linecap='square'/%3e%3c/svg%3e");
}

.bpn-vehicle-new-card:has(.bpn-vehicle-radio-input:checked) {
	background-image: none;
	border: 1px solid var(--bpn-vehicle-accent);
}

.bpn-vehicle-new-plus {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	font-weight: 400;
	color: var(--bpn-theme-text-primary);
	line-height: 1;
}

.bpn-vehicle-new-card .bpn-vehicle-card-name {
	font-weight: 500;
	font-size: 15px;
	color: var(--bpn-theme-text-primary);
}

/* Suppress wpautop <br> and <p> tags injected inside/between vehicle cards */
.bpn-vehicle-radio-list br,
.bpn-vehicle-radio-list p:empty,
.bpn-vehicle-radio-card br,
.bpn-vehicle-radio-card p:empty {
	display: none;
}

/* New vehicle form — visible only when "Use a different vehicle" selected */
.bpn-new-vehicle-form {
	margin-top: 20px;
}

.bpn-new-vehicle-form.is-hidden {
	display: none;
}

/* Save vehicle toggle row */
.bpn-save-vehicle-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px;
	background: var(--bpn-theme-background-white);
	border: 1px solid var(--bpn-theme-border-secondary);
	border-radius: 2px;
	margin-top: 16px;
}

/* wpautop injects <br> and wraps labels in <p> — neutralize both */
.bpn-save-vehicle-row br {
	display: none;
}
.bpn-save-vehicle-row > p {
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
}

.bpn-new-vehicle-form.is-hidden + .bpn-save-vehicle-row {
	display: none;
}

.bpn-save-vehicle-row__info {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.bpn-save-vehicle-row__title {
	font-weight: 600;
	font-size: 14px;
	color: var(--bpn-theme-text-primary);
	margin: 0;
}

.bpn-save-vehicle-row__desc {
	font-size: 13px;
	color: var(--bpn-theme-text-secondary);
	margin: 0;
}

.bpn-save-vehicle-toggle {
	position: relative;
	display: inline-block;
	width: 44px;
	height: 24px;
	flex-shrink: 0;
	cursor: pointer;
}

.bpn-save-vehicle-toggle input {
	display: none;
}

.bpn-save-vehicle-toggle__track {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #D1D5DB;
	border-radius: 24px;
	transition: background-color 0.3s;
}

.bpn-save-vehicle-toggle__track::after {
	content: "";
	position: absolute;
	top: 2px;
	left: 2px;
	width: 20px;
	height: 20px;
	background-color: var(--bpn-theme-background-white);
	border-radius: 50%;
	transition: transform 0.3s;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.bpn-save-vehicle-toggle input:checked ~ .bpn-save-vehicle-toggle__track {
	background-color: var(--bpn-theme-primary);
}

.bpn-save-vehicle-toggle input:checked ~ .bpn-save-vehicle-toggle__track::after {
	transform: translateX(20px);
}


   
/* =========================================================================
   ADD PAYMENT METHOD PAGE (RMP Design)
   ========================================================================= */

.bpn-add-payment-method-page {
	max-width: 800px;
}

.bpn-add-payment-method-page .bpn-back-link-wrapper {
	margin-bottom: 24px;
}

.bpn-add-payment-method-page .bpn-back-link {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #1a1a1a;
	text-decoration: none;
	font-weight: 600;
	font-size: 16px;
}

.bpn-add-payment-method-page .bpn-back-link svg {
	width: 20px;
	height: 20px;
}

.bpn-add-payment-method-page .bpn-page-title {
	font-size: 28px;
	font-weight: 700;
	color: #29303F;
	margin-bottom: 24px;
	padding-bottom: 0;
	border: none;
}

/* Form Container */
.bpn-add-payment-method-page #payment.bpn-payment-form-container,
#add_payment_method #payment,
.woocommerce-cart #payment {
	border: 1px solid var(--bpn-theme-border-secondary) !important;
	border-radius: 2px !important;
}

.woocommerce-checkout #payment {
	border: none !important;
	border-radius: 0 !important;
}

.bpn-add-payment-method-page #payment.bpn-payment-form-container {
	background: var(--bpn-theme-background-white) !important;
	padding: 32px;
}

/* Hide the default WC radio buttons and labels for methods if there's only one, 
   or keep them hidden to match the design which just shows the inputs */
.bpn-add-payment-method-page .bpn-payment-methods-list {
	margin: 0;
	padding: 0;
	list-style: none;
	border: none;
}

.bpn-add-payment-method-page .bpn-payment-methods-list>li {
	margin: 0;
	padding: 0;
}

.bpn-add-payment-method-page .woocommerce-PaymentBox {
	background: transparent !important;
	padding: 0 !important;
	margin: 0 !important;
	border: none !important;
	color: #333 !important;
}

.bpn-add-payment-method-page .woocommerce-PaymentBox::before {
	display: none !important;
}

/* Elavon Form Inputs Styling matching design */
.bpn-add-payment-method-page .wc-elavon-converge-credit-card-form,
.bpn-add-payment-method-page .wc-elavon-converge-credit-card-new-payment-method-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px 24px;
}

#wc-elavon-converge-credit-card-credit-card-form input,
#wc-elavon-converge-credit-card-credit-card-form select {
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 400;
	font-style: Regular;
	font-size: 14px !important;
	line-height: 20px;
	letter-spacing: 1.2%;
	color: #8F8F8F;
	padding: 14px !important;
	border-color: #E8E8E8 !important;
}

#wc-elavon-converge-credit-card-credit-card-form label,
#wc-elavon-converge-credit-card-credit-card-form select {
	margin-bottom: 15px !important;
}

#wc-elavon-converge-credit-card-credit-card-form .bpn-payment-methods-list {
	border: none !important;
}

#add_payment_method .bpn-submit-card-btn {
	margin-top: 20px !important;
}

#add_payment_method .bpn-preference-info {
	padding: 20px;
}

/* Ensure form-row-wide spans full width in the grid */
.bpn-add-payment-method-page .wc-elavon-converge-credit-card-new-payment-method-form>.form-row-wide {
	grid-column: 1 / -1;
}

.bpn-add-payment-method-page .form-row {
	box-shadow: none;
}

.bpn-add-payment-method-page .form-row input::placeholder {
	color: #8F8F8F;
	opacity: 1;
}

/* Hide the tokenize hidden input and clear div from grid */
.bpn-add-payment-method-page .wc-elavon-converge-credit-card-new-payment-method-form>.clear,
.bpn-add-payment-method-page .wc-elavon-converge-credit-card-new-payment-method-form>[type="hidden"] {
	display: none;
}

/* The name field - hidden since design doesn't show it */
.bpn-add-payment-method-page #wc-elavon-converge-credit-card-account-name-field,
.bpn-add-payment-method-page #wc-elavon-converge-credit-card-account-name_field {
	display: none;
}

/* Hide context hidden field from grid */
.bpn-add-payment-method-page #wc-elavon-converge-credit-card-context_field,
.bpn-add-payment-method-page #wc-elavon-converge-credit-card-context-field {
	display: none;
}

/* The card number field - full width */
.bpn-add-payment-method-page #wc-elavon-converge-credit-card-account-number-field,
.bpn-add-payment-method-page #wc-elavon-converge-credit-card-account-number_field {
	grid-column: 1 / -1;
	grid-row: 1;
}

/* Expiry */
.bpn-add-payment-method-page #wc-elavon-converge-credit-card-expiry-field,
.bpn-add-payment-method-page #wc-elavon-converge-credit-card-expiry_field {
	grid-column: 1;
	grid-row: 2;
}

/* CVV */
.bpn-add-payment-method-page #wc-elavon-converge-credit-card-csc-field,
.bpn-add-payment-method-page #wc-elavon-converge-credit-card-csc_field {
	grid-column: 2;
	grid-row: 2;
}

/* Hide Elavon description paragraphs (TEST MODE, Pay securely) */
.bpn-add-payment-method-page .woocommerce-PaymentBox>p {
	display: none !important;
}

/* Override Elavon label text to match design */
.bpn-add-payment-method-page [id$="account-number_field"]>label,
.bpn-add-payment-method-page [id$="expiry_field"]>label,
.bpn-add-payment-method-page [id$="csc_field"]>label {
	font-size: 0 !important;
	line-height: 0 !important;
}

.bpn-add-payment-method-page [id$="account-number_field"]>label::before {
	content: "Card Number *";
	font-size: 14px;
	line-height: 20px;
}

.bpn-add-payment-method-page [id$="expiry_field"]>label::before {
	content: "Exp Date *";
	font-size: 14px;
	line-height: 20px;
}

.bpn-add-payment-method-page [id$="csc_field"]>label::before {
	content: "CVV *";
	font-size: 14px;
	line-height: 20px;
}


/* Preferences Section - outside the white card */
.bpn-add-payment-method-page .bpn-payment-preferences {
	margin-top: 32px;
}

.bpn-add-payment-method-page .bpn-preferences-title {
	font-size: 18px;
	font-weight: 600;
	color: #29303F;
	margin-bottom: 16px;
}

.bpn-add-payment-method-page .bpn-preference-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: var(--bpn-theme-background-white);
	border: 1px solid var(--bpn-theme-border-secondary);
	border-radius: 2px;
	padding: 16px 20px;
}

.bpn-add-payment-method-page .bpn-preference-info h4 {
	margin: 0 0 4px 0;
	font-size: 15px;
	font-weight: 600;
	color: #1F2937;
}

.bpn-add-payment-method-page .bpn-preference-info p {
	margin: 0;
	font-size: 14px;
	color: #4B5563;
}

/* Toggle Switch */
.bpn-add-payment-method-page .bpn-toggle-switch {
	display: flex;
	align-items: center;
}

.bpn-add-payment-method-page .bpn-toggle-switch input {
	display: none;
}

.bpn-add-payment-method-page .bpn-toggle-label {
	position: relative;
	display: inline-block;
	width: 44px;
	height: 24px;
	background-color: #D1D5DB;
	border-radius: 24px;
	cursor: pointer;
	transition: background-color 0.3s;
}

.bpn-add-payment-method-page .bpn-toggle-label::after {
	content: "";
	position: absolute;
	top: 2px;
	left: 2px;
	width: 20px;
	height: 20px;
	background-color: white;
	border-radius: 50%;
	transition: transform 0.3s;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.bpn-add-payment-method-page .bpn-toggle-switch input:checked+.bpn-toggle-label {
	background-color: var(--bpn-theme-primary);
}

.bpn-add-payment-method-page .bpn-toggle-switch input:checked+.bpn-toggle-label::after {
	transform: translateX(20px);
}


/* Submit Row */
.bpn-add-payment-method-page .bpn-submit-row {
	margin-top: 32px;
	display: flex;
	justify-content: flex-end;
}

.bpn-add-payment-method-page .bpn-submit-card-btn {
	background: var(--bpn-theme-primary) !important;
	color: var(--bpn-theme-background-white) !important;
	font-weight: 600;
	font-size: 14px;
	padding: 10px 14px;
	border-radius: 2px;
	border: none;
	cursor: pointer;
	transition: all 0.2s;
}

.bpn-add-payment-method-page .bpn-submit-card-btn:hover {
	filter: brightness(0.9);
}

/* Responsive */
@media (max-width: 640px) {
	.bpn-add-payment-method-page #payment.bpn-payment-form-container {
		padding: 20px 16px;
	}

	.bpn-add-payment-method-page .wc-elavon-converge-credit-card-form,
	.bpn-add-payment-method-page .wc-elavon-converge-credit-card-new-payment-method-form {
		grid-template-columns: 1fr;
	}

	.bpn-add-payment-method-page #wc-elavon-converge-credit-card-account-number-field,
	.bpn-add-payment-method-page #wc-elavon-converge-credit-card-account-number_field,
	.bpn-add-payment-method-page #wc-elavon-converge-credit-card-expiry-field,
	.bpn-add-payment-method-page #wc-elavon-converge-credit-card-expiry_field,
	.bpn-add-payment-method-page #wc-elavon-converge-credit-card-csc-field,
	.bpn-add-payment-method-page #wc-elavon-converge-credit-card-csc_field {
		grid-column: 1;
		grid-row: auto;
	}

	.bpn-add-payment-method-page .bpn-preference-item {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}
}

/* Billing Fields Section in Add Payment Method */
.bpn-add-payment-method-page .bpn-billing-fields-section {
	margin-top: 32px;
}

.bpn-add-payment-method-page .bpn-billing-section-title {
	font-size: 15px;
	font-weight: 600;
	color: #4B5563;
	/* grey-600 */
	margin-bottom: 16px;
	margin-top: 0;
}

.bpn-add-payment-method-page .bpn-billing-fields-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px 24px;
}

.bpn-add-payment-method-page .bpn-billing-fields-grid .full-width {
	grid-column: 1 / -1;
}

/* State field - half width */
.bpn-add-payment-method-page .bpn-field-state {
	grid-column: 1;
}

/* SelectWoo / Select2 overrides for state selector (matches vehicle forms) */

.bpn-add-payment-method-page .bpn-input-select {
	width: 100%;
	height: 48px;
	padding: 8px 16px;
	border: 1px solid #E8E8E8;
	border-radius: 6px;
	font-family: 'Instrument Sans', sans-serif;
	font-size: 14px;
	font-weight: 400;
	color: var(--bpn-theme-text-primary);
	line-height: 20px;
	letter-spacing: 0.002em;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z' fill='%235F6368'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 40px;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
}

.bpn-add-payment-method-page .bpn-input-select:focus {
	border-color: var(--bpn-theme-text-primary);
	outline: none;
}

.bpn-add-payment-method-page .select2-container {
	width: 100% !important;
}

.bpn-add-payment-method-page .select2-container .select2-selection--single {
	font-family: 'Instrument Sans', sans-serif;
	background: #FFFFFF;
	border: 1px solid #E8E8E8;
	border-radius: 6px;
	height: 48px;
	padding: 0;
	box-sizing: border-box;
	transition: all 0.3s ease;
}

.bpn-add-payment-method-page .select2-container .select2-selection--single .select2-selection__rendered {
	font-family: 'Instrument Sans', sans-serif;
	color: var(--bpn-theme-text-primary);
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	letter-spacing: 0.002em;
	padding: 14px 16px !important;
	box-sizing: border-box;
}

.bpn-add-payment-method-page .select2-container .select2-selection--single .select2-selection__arrow {
	height: 46px;
}

.bpn-add-payment-method-page .select2-container .select2-selection--single:focus,
.bpn-add-payment-method-page .select2-container.select2-container--open .select2-selection--single {
	border-color: var(--bpn-theme-text-primary);
	outline: none;
	box-shadow: 0 0 0 3px rgba(42, 42, 42, 0.1);
}

@media (max-width: 640px) {
	.bpn-add-payment-method-page .bpn-billing-fields-grid {
		grid-template-columns: 1fr;
	}
}

.bpn-add-payment-method-page .form-row {
	margin: 0;
	padding: 0;
	width: 100% !important;
	float: none !important;
}

.bpn-add-payment-method-page .form-row label {
	display: block;
	font-family: 'Instrument Sans', sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
	letter-spacing: 0.012em;
	color: #434343;
	margin-bottom: 6px;
}

.bpn-add-payment-method-page .form-row input[type="text"],
.bpn-add-payment-method-page .form-row input[type="tel"],
.bpn-add-payment-method-page .form-row input[type="email"] {
	width: 100%;
	height: 48px;
	background: #FFFFFF;
	border: 1px solid #E8E8E8;
	border-radius: 6px;
	padding: 8px 16px;
	font-family: 'Instrument Sans', sans-serif;
	font-size: 14px;
	color: var(--bpn-theme-text-primary);
	transition: all 0.2s ease;
	box-shadow: none;
	box-sizing: border-box;
}

.bpn-add-payment-method-page .form-row input:focus {
	border-color: var(--bpn-theme-text-primary);
	outline: none;
}

/* Fix xdsoft datetimepicker hiding behind modal */
.xdsoft_datetimepicker {
	z-index: 999999 !important;
}

/* Force native scroll on time list for mobile functionality */
.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box {
	overflow-y: auto !important;
	-webkit-overflow-scrolling: touch;
}

.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_variant {
	margin-top: 0 !important;
}

.xdsoft_datetimepicker .xdsoft_scrollbar {
	display: none !important;
}

/* "Checking availability" loading box style */
.bpn-modal-loading {
	padding: 12px 16px;
	margin-top: 16px;
	background-color: var(--bpn-theme-primary-light);
	border: 1px solid var(--bpn-theme-primary);
	border-radius: 2px;
	align-items: center;
	gap: 12px;
}

#bpn-date-edit-loading[style*="block"],
#bpn-date-edit-loading[style*="inline"] {
	display: flex !important;
}

.bpn-modal-loading>span {
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 600;
	font-size: 14px;
	color: var(--bpn-theme-primary);
}

.bpn-modal-loading .spinner {
	margin: 0;
	float: none;
	visibility: visible;
}

/* Error message box styling */
.bpn-modal-error {
	padding: 12px 16px;
	margin-top: 16px;
	background-color: var(--bpn-theme-primary-light);
	border: 1px solid var(--bpn-theme-error);
	border-radius: 2px;
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 500;
	font-size: 14px;
	color: var(--bpn-theme-error);
}

/* ── Edit LPN section (my-account/view-order) ── */
.bpn-edit-lpn-section {
	margin-top: 16px;
}

.bpn-edit-lpn-label {
	font-family: 'Instrument Sans', sans-serif;
	font-size: 14px;
	color: var(--bpn-theme-text-primary);
	margin: 0 0 8px;
}

.bpn-edit-lpn-form {
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-width: 320px;
}

.bpn-edit-lpn-input {
	box-sizing: border-box;
	height: 48px;
	padding: 8px 16px;
	border: 1px solid #E8E8E8;
	border-radius: 6px;
	font-family: 'Instrument Sans', sans-serif;
	font-size: 16px;
	font-weight: 600;
	color: var(--bpn-theme-text-primary);
	text-transform: uppercase;
	outline: none;
	width: 100%;
}

.bpn-edit-lpn-input:focus {
	border-color: #F5C825;
}

.bpn-edit-lpn-actions {
	display: flex;
	gap: 8px;
	margin-top: 16px;
}

.bpn-edit-lpn-save {
	padding: 8px 20px;
	background: var(--bpn-theme-primary);
	color: var(--bpn-theme-background-white);
	border: none;
	border-radius: 2px;
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
}

.bpn-edit-lpn-save:hover {
	filter: brightness(0.9);
}

.bpn-edit-lpn-save:disabled {
	opacity: 0.6;
	cursor: default;
}

.bpn-edit-lpn-cancel-edit {
	padding: 8px 20px;
	background: transparent;
	border: 1px solid #424242;
	border-radius: 6px;
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 500;
	font-size: 14px;
	color: var(--bpn-theme-text-primary);
	cursor: pointer;
}

.bpn-edit-lpn-trigger {
	background: none;
	border: none;
	padding: 0;
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 600;
	font-size: 13px;
	color: var(--bpn-theme-text-primary);
	text-decoration: underline;
	cursor: pointer;
}

.bpn-edit-lpn-error {
	font-family: 'Instrument Sans', sans-serif;
	font-size: 12px;
	color: #d32f2f;
	margin: 0;
}
