/**
 * WooCommerce Customer Booking Manager — My Account styles
 * Aligns with membership booking accent (#e4a81b) and DM Sans.
 */

.wcbm-shell {
	--wcbm-accent: #e4a81b;
	--wcbm-accent-soft: rgba(228, 168, 27, 0.18);
	--wcbm-ink: #0f172a;
	--wcbm-muted: #64748b;
	--wcbm-line: #e2e8f0;
	--wcbm-surface: #ffffff;
	--wcbm-wash: #f8fafc;
	--wcbm-danger: #b91c1c;
	--wcbm-ok: #15803d;
	font-family: "DM Sans", "Segoe UI", sans-serif;
	color: var(--wcbm-ink);
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}

.wcbm-shell *,
.wcbm-shell *::before,
.wcbm-shell *::after {
	box-sizing: border-box;
}

.wcbm-header {
	margin: 0 0 1.5rem;
}

.wcbm-header__title {
	margin: 0 0 0.35rem;
	font-size: 1.65rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.wcbm-header__subtitle {
	margin: 0;
	color: var(--wcbm-muted);
	font-size: 0.95rem;
}

.wcbm-notice {
	margin: 0 0 1.25rem;
	padding: 0.85rem 1rem;
	border-radius: 10px;
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	color: var(--wcbm-ok);
	font-weight: 500;
}

.wcbm-notice--error {
	background: #fef2f2;
	border-color: #fecaca;
	color: var(--wcbm-danger);
}

/* Membership panel */
.wcbm-membership-panel {
	margin: 0 0 1.25rem;
	background: var(--wcbm-surface);
	border: 1px solid var(--wcbm-line);
	border-radius: 16px;
	padding: 1.1rem 1.15rem 1.25rem;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.wcbm-membership-panel__head {
	margin-bottom: 0.95rem;
}

.wcbm-membership-panel__title {
	margin: 0 0 0.3rem;
	font-size: 1.1rem;
	font-weight: 700;
}

.wcbm-membership-panel__subtitle {
	margin: 0;
	color: var(--wcbm-muted);
	font-size: 0.88rem;
}

.wcbm-membership-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 0.9rem;
}

.wcbm-membership-card {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem;
	border: 1px solid var(--wcbm-line);
	border-radius: 12px;
	background: linear-gradient(180deg, #fff 0%, var(--wcbm-wash) 100%);
}

.wcbm-membership-card--new-month {
	border-color: #e4a81b;
	box-shadow: 0 0 0 1px rgba(228, 168, 27, 0.25);
}

.wcbm-membership-card__badge {
	display: inline-block;
	margin: 0 0 0.45rem;
	padding: 0.15rem 0.5rem;
	border-radius: 999px;
	background: #e4a81b;
	color: #1a1a1a;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.wcbm-new-month-account-notice {
	margin: 0 0 1.25rem;
	padding: 1rem 1.15rem;
	border-radius: 12px;
	border: 1px solid #e4a81b;
	background: #fff8e8;
}

.wcbm-new-month-account-notice__badge {
	display: inline-block;
	margin: 0 0 0.45rem;
	padding: 0.15rem 0.5rem;
	border-radius: 999px;
	background: #e4a81b;
	color: #1a1a1a;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.wcbm-new-month-account-notice__text {
	margin: 0 0 0.75rem;
	color: #1a1a1a;
	line-height: 1.45;
}

.woocommerce-account .wcbm-new-month-account-notice .wcbm-btn {
	display: inline-block;
	text-decoration: none;
}

.wcbm-membership-card__title {
	margin: 0 0 0.5rem;
	font-size: 1rem;
	font-weight: 700;
}

.wcbm-membership-card__meta {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.25rem;
	font-size: 0.88rem;
	color: var(--wcbm-muted);
}

.wcbm-membership-card__meta strong {
	color: var(--wcbm-ink);
	font-weight: 600;
}

.wcbm-membership-card__actions {
	display: flex;
	align-items: flex-start;
	flex-shrink: 0;
}

.wcbm-membership-card__locked {
	font-size: 0.78rem;
	color: var(--wcbm-muted);
	max-width: 11rem;
	text-align: right;
	line-height: 1.35;
}

.wcbm-membership-card__allowance {
	color: var(--wcbm-muted);
	font-weight: 500;
}

.wcbm-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
	gap: 1.25rem;
	align-items: start;
	width: 100%;
}

.wcbm-calendar-panel,
.wcbm-list-panel {
	background: var(--wcbm-surface);
	border: 1px solid var(--wcbm-line);
	border-radius: 16px;
	padding: 1.1rem 1.15rem 1.25rem;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
	min-width: 0;
	width: 100%;
	overflow: hidden;
}

.wcbm-cal-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
}

.wcbm-cal-nav__title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 650;
}

/* Reset theme button styles that turn every day gold and break the grid. */
.wcbm-shell .wcbm-cal-nav__btn,
.woocommerce-MyAccount-content .wcbm-shell .wcbm-cal-nav__btn {
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 36px;
	width: 36px;
	min-width: 36px;
	max-width: 36px;
	height: 36px;
	min-height: 36px;
	margin: 0;
	padding: 0;
	border-radius: 10px;
	border: 1px solid var(--wcbm-line);
	background: var(--wcbm-wash);
	background-image: none;
	color: var(--wcbm-ink);
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1;
	text-transform: none;
	letter-spacing: normal;
	box-shadow: none;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.wcbm-shell .wcbm-cal-nav__btn:hover,
.woocommerce-MyAccount-content .wcbm-shell .wcbm-cal-nav__btn:hover {
	background: var(--wcbm-accent-soft);
	border-color: var(--wcbm-accent);
	color: var(--wcbm-ink);
}

.wcbm-shell .wcbm-cal-nav__btn:disabled,
.woocommerce-MyAccount-content .wcbm-shell .wcbm-cal-nav__btn:disabled {
	opacity: 0.35;
	cursor: not-allowed;
	pointer-events: none;
}

.wcbm-cal-weekdays,
.wcbm-cal-days {
	display: grid !important;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 4px;
	width: 100%;
	max-width: 100%;
}

.wcbm-cal-weekdays span {
	display: block;
	width: 100%;
	text-align: center;
	font-size: 0.7rem;
	font-weight: 600;
	color: var(--wcbm-muted);
	padding: 0.3rem 0;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

/* Day cells are DIVs — still reset aggressively so themes cannot restyle them. */
.wcbm-shell .wcbm-day,
.woocommerce-MyAccount-content .wcbm-shell .wcbm-day,
.woocommerce-MyAccount-content .wcbm-shell button.wcbm-day,
.woocommerce-MyAccount-content .wcbm-shell div.wcbm-day {
	appearance: none;
	-webkit-appearance: none;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	height: 38px;
	min-height: 38px;
	max-height: 38px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--wcbm-line);
	border-radius: 8px;
	background: var(--wcbm-wash);
	background-image: none;
	color: var(--wcbm-ink);
	font-family: inherit;
	font-size: 0.82rem;
	font-weight: 500;
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	text-shadow: none;
	text-decoration: none;
	box-shadow: none;
	cursor: default;
	overflow: hidden;
	user-select: none;
}

.wcbm-shell .wcbm-day--muted,
.woocommerce-MyAccount-content .wcbm-shell .wcbm-day--muted,
.woocommerce-MyAccount-content .wcbm-shell button.wcbm-day--muted,
.woocommerce-MyAccount-content .wcbm-shell div.wcbm-day--muted {
	background: transparent;
	border-color: transparent;
	color: #cbd5e1;
	box-shadow: none;
}

.wcbm-shell .wcbm-day--today,
.woocommerce-MyAccount-content .wcbm-shell .wcbm-day--today,
.woocommerce-MyAccount-content .wcbm-shell button.wcbm-day--today,
.woocommerce-MyAccount-content .wcbm-shell div.wcbm-day--today {
	box-shadow: inset 0 0 0 2px var(--wcbm-accent);
}

.wcbm-shell .wcbm-day--has-booking,
.woocommerce-MyAccount-content .wcbm-shell .wcbm-day--has-booking,
.woocommerce-MyAccount-content .wcbm-shell button.wcbm-day--has-booking,
.woocommerce-MyAccount-content .wcbm-shell div.wcbm-day--has-booking {
	background: var(--wcbm-accent-soft);
	border-color: rgba(228, 168, 27, 0.45);
	color: var(--wcbm-ink);
	cursor: pointer;
	font-weight: 700;
}

.wcbm-shell .wcbm-day--has-booking:hover,
.wcbm-shell .wcbm-day--selected,
.woocommerce-MyAccount-content .wcbm-shell .wcbm-day--has-booking:hover,
.woocommerce-MyAccount-content .wcbm-shell .wcbm-day--selected,
.woocommerce-MyAccount-content .wcbm-shell button.wcbm-day--has-booking:hover,
.woocommerce-MyAccount-content .wcbm-shell button.wcbm-day--selected,
.woocommerce-MyAccount-content .wcbm-shell div.wcbm-day--has-booking:hover,
.woocommerce-MyAccount-content .wcbm-shell div.wcbm-day--selected {
	background: var(--wcbm-accent);
	border-color: var(--wcbm-accent);
	color: #111;
	box-shadow: none;
}

.wcbm-shell .wcbm-day--in-week:not(.wcbm-day--has-booking):not(.wcbm-day--selected):not(.wcbm-day--has-selection):not(.wcbm-day--disabled):not(.wcbm-day--past),
.woocommerce-MyAccount-content .wcbm-shell .wcbm-day--in-week:not(.wcbm-day--has-booking):not(.wcbm-day--selected):not(.wcbm-day--has-selection):not(.wcbm-day--disabled):not(.wcbm-day--past),
.woocommerce-MyAccount-content .wcbm-shell div.wcbm-day--in-week:not(.wcbm-day--has-booking):not(.wcbm-day--selected):not(.wcbm-day--has-selection):not(.wcbm-day--disabled):not(.wcbm-day--past) {
	background: #fffbeb;
	border-color: #fde68a;
	color: var(--wcbm-ink);
}

.wcbm-shell .wcbm-day--has-selection,
.woocommerce-MyAccount-content .wcbm-shell .wcbm-day--has-selection,
.woocommerce-MyAccount-content .wcbm-shell div.wcbm-day--has-selection {
	background: var(--wcbm-accent-soft);
	border-color: rgba(228, 168, 27, 0.55);
	color: var(--wcbm-ink);
	font-weight: 700;
}

.wcbm-shell .wcbm-day--past,
.wcbm-shell .wcbm-day--disabled,
.wcbm-shell .wcbm-day--outside-period,
.woocommerce-MyAccount-content .wcbm-shell .wcbm-day--past,
.woocommerce-MyAccount-content .wcbm-shell .wcbm-day--disabled,
.woocommerce-MyAccount-content .wcbm-shell .wcbm-day--outside-period,
.woocommerce-MyAccount-content .wcbm-shell div.wcbm-day--past,
.woocommerce-MyAccount-content .wcbm-shell div.wcbm-day--disabled,
.woocommerce-MyAccount-content .wcbm-shell div.wcbm-day--outside-period,
.woocommerce-MyAccount-content .wcbm-shell button.wcbm-day--past,
.woocommerce-MyAccount-content .wcbm-shell button.wcbm-day--disabled {
	background: #f1f5f9 !important;
	border-color: #e2e8f0 !important;
	color: #94a3b8 !important;
	opacity: 0.55;
	text-decoration: line-through;
	pointer-events: none !important;
	cursor: not-allowed !important;
	box-shadow: none !important;
}

.wcbm-shell .wcbm-day--selectable,
.woocommerce-MyAccount-content .wcbm-shell .wcbm-day--selectable,
.woocommerce-MyAccount-content .wcbm-shell div.wcbm-day--selectable {
	cursor: pointer;
}

.wcbm-shell .wcbm-day--selectable:hover,
.woocommerce-MyAccount-content .wcbm-shell .wcbm-day--selectable:hover,
.woocommerce-MyAccount-content .wcbm-shell div.wcbm-day--selectable:hover {
	border-color: var(--wcbm-accent);
}

.wcbm-cal-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin-top: 0.9rem;
	font-size: 0.8rem;
	color: var(--wcbm-muted);
}

.wcbm-cal-legend__item {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.wcbm-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	display: inline-block;
}

.wcbm-dot--booked {
	background: var(--wcbm-accent);
}

.wcbm-dot--today {
	box-shadow: inset 0 0 0 2px var(--wcbm-accent);
	background: transparent;
}

.wcbm-list-panel__title {
	margin: 0 0 0.25rem;
	font-size: 1.05rem;
}

.wcbm-list-panel__hint {
	margin: 0 0 0.85rem;
	color: var(--wcbm-muted);
	font-size: 0.85rem;
}

.wcbm-booking-list {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	max-height: 560px;
	overflow: auto;
	padding-right: 4px;
}

.wcbm-booking-card {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem;
	border: 1px solid var(--wcbm-line);
	border-radius: 12px;
	background: linear-gradient(180deg, #fff 0%, var(--wcbm-wash) 100%);
}

.wcbm-booking-card.is-filtered-out {
	display: none;
}

.wcbm-booking-card__product {
	margin: 0 0 0.5rem;
	font-size: 1rem;
	font-weight: 700;
}

.wcbm-booking-card__meta {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.25rem;
	font-size: 0.88rem;
	color: var(--wcbm-muted);
}

.wcbm-booking-card__meta strong {
	color: var(--wcbm-ink);
	font-weight: 600;
}

.wcbm-status,
.wcbm-option {
	display: inline-block;
	padding: 0.1rem 0.45rem;
	border-radius: 999px;
	background: #e2e8f0;
	color: var(--wcbm-ink);
	font-size: 0.78rem;
	font-weight: 600;
}

.wcbm-option {
	background: #e0e7ff;
	color: #3730a3;
}

.wcbm-status--completed,
.wcbm-status--processing {
	background: #dcfce7;
	color: #166534;
}

.wcbm-status--on-hold,
.wcbm-status--pending {
	background: #fef3c7;
	color: #92400e;
}

.wcbm-booking-card__actions {
	display: flex;
	align-items: flex-start;
	flex-shrink: 0;
}

.wcbm-booking-card__locked {
	font-size: 0.78rem;
	color: var(--wcbm-muted);
	max-width: 8rem;
	text-align: right;
}

.wcbm-btn {
	appearance: none;
	-webkit-appearance: none;
	border: none;
	border-radius: 10px;
	padding: 0.65rem 1rem;
	font: inherit;
	font-weight: 650;
	font-size: 0.88rem;
	line-height: 1.2;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
	transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.wcbm-btn:disabled {
	opacity: 0.45;
	cursor: not-allowed;
	transform: none !important;
}

.wcbm-shell .wcbm-btn--primary,
.woocommerce-MyAccount-content .wcbm-shell .wcbm-btn--primary {
	background: var(--wcbm-accent);
	background-image: none;
	color: #111;
	box-shadow: 0 6px 16px rgba(228, 168, 27, 0.28);
}

.wcbm-shell .wcbm-btn--primary:hover:not(:disabled),
.woocommerce-MyAccount-content .wcbm-shell .wcbm-btn--primary:hover:not(:disabled) {
	transform: translateY(-1px);
	box-shadow: 0 10px 20px rgba(228, 168, 27, 0.34);
	color: #111;
}

.wcbm-shell .wcbm-btn--ghost,
.woocommerce-MyAccount-content .wcbm-shell .wcbm-btn--ghost {
	background: transparent;
	background-image: none;
	border: 1px solid var(--wcbm-line);
	color: var(--wcbm-ink);
	box-shadow: none;
}

.wcbm-empty {
	padding: 2rem 1rem;
	text-align: center;
	color: var(--wcbm-muted);
}

/* Modal */
.wcbm-modal[hidden] {
	display: none !important;
}

.wcbm-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.wcbm-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
	backdrop-filter: blur(2px);
}

.wcbm-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(920px, 100%);
	max-height: min(92vh, 860px);
	overflow: auto;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.28);
	padding: 1.25rem 1.35rem 1.15rem;
	animation: wcbm-rise 0.22s ease;
}

@keyframes wcbm-rise {
	from {
		opacity: 0;
		transform: translateY(12px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.wcbm-modal__close {
	appearance: none;
	-webkit-appearance: none;
	position: absolute;
	top: 0.7rem;
	right: 0.8rem;
	width: 36px;
	height: 36px;
	border: none;
	border-radius: 10px;
	background: var(--wcbm-wash);
	background-image: none;
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
	color: var(--wcbm-ink);
	box-shadow: none;
}

.wcbm-modal__header {
	padding-right: 2rem;
	margin-bottom: 1rem;
}

.wcbm-modal__header h3 {
	margin: 0 0 0.35rem;
	font-size: 1.25rem;
}

.wcbm-modal__subtitle {
	margin: 0 0 0.35rem;
	font-weight: 600;
}

.wcbm-modal__hint {
	margin: 0;
	color: var(--wcbm-muted);
	font-size: 0.88rem;
}

.wcbm-modal__notice {
	margin: 0.75rem 0 0;
}

.wcbm-modal__period {
	margin: 0.45rem 0 0;
	padding: 0.35rem 0.55rem;
	display: inline-block;
	border-radius: 8px;
	background: var(--wcbm-wash);
	border: 1px solid var(--wcbm-line);
	color: var(--wcbm-muted);
	font-size: 0.8rem;
	font-weight: 500;
}

.wcbm-privacy-options {
	display: block;
	margin: 0.75rem 0 0;
}

.wcbm-privacy-options__title {
	margin: 0 0 0.5rem;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--wcbm-ink);
	text-transform: none;
	letter-spacing: 0;
	text-align: left;
}

.wcbm-privacy-options__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.55rem;
}

.woocommerce-MyAccount-content .wcbm-shell button.wcbm-privacy-option,
.wcbm-shell button.wcbm-privacy-option,
.wcbm-privacy-option {
	display: flex !important;
	align-items: flex-start;
	justify-content: flex-start;
	flex-direction: row;
	gap: 0.55rem;
	width: 100%;
	margin: 0;
	min-height: 0;
	padding: 0.55rem 0.65rem;
	border: 1px solid var(--wcbm-line) !important;
	border-radius: 10px;
	background: #fff !important;
	color: var(--wcbm-ink) !important;
	cursor: pointer;
	box-shadow: none !important;
	text-align: left !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	line-height: 1.3;
	font-weight: 400;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.woocommerce-MyAccount-content .wcbm-shell button.wcbm-privacy-option:hover,
.wcbm-privacy-option:hover,
.wcbm-privacy-option:focus {
	border-color: var(--wcbm-accent) !important;
	background: #fffdf6 !important;
	outline: none;
	transform: none;
}

.woocommerce-MyAccount-content .wcbm-shell button.wcbm-privacy-option.is-selected,
.wcbm-privacy-option.is-selected {
	border-color: var(--wcbm-accent) !important;
	background: #fff8e8 !important;
	box-shadow: 0 0 0 2px rgba(228, 168, 27, 0.28) !important;
}

.wcbm-privacy-option__icon {
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	margin-top: 1px;
	border-radius: 999px;
	background: var(--wcbm-wash);
	color: #64748b;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.wcbm-privacy-option.is-selected .wcbm-privacy-option__icon {
	background: rgba(228, 168, 27, 0.16);
	color: #b45309;
}

.wcbm-privacy-option__icon img,
.wcbm-privacy-option__icon svg {
	width: 16px;
	height: 16px;
	display: block;
}

.wcbm-privacy-option__icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.wcbm-privacy-option__copy {
	flex: 1 1 auto;
	min-width: 0;
	text-align: left !important;
}

.wcbm-privacy-option__copy strong {
	display: block;
	margin: 0;
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--wcbm-ink);
	text-transform: none !important;
	letter-spacing: 0 !important;
	line-height: 1.25;
}

.wcbm-privacy-option__copy span {
	display: block;
	margin: 0.12rem 0 0;
	color: var(--wcbm-muted);
	font-size: 0.7rem;
	font-weight: 400;
	line-height: 1.35;
	text-transform: none !important;
	letter-spacing: 0 !important;
}

.wcbm-privacy-option__radio {
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
	margin-top: 2px;
	border: 2px solid #cbd5e1;
	border-radius: 999px;
	position: relative;
	background: #fff;
}

.wcbm-privacy-option.is-selected .wcbm-privacy-option__radio {
	border-color: var(--wcbm-accent);
}

.wcbm-privacy-option.is-selected .wcbm-privacy-option__radio::after {
	content: "";
	position: absolute;
	inset: 2px;
	border-radius: 999px;
	background: var(--wcbm-accent);
}

@media (max-width: 720px) {
	.wcbm-privacy-options__grid {
		grid-template-columns: 1fr;
	}
}

.wcbm-reschedule-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
}

.wcbm-reschedule-times__title {
	margin: 0 0 0.35rem;
	font-size: 1rem;
}

.wcbm-reschedule-times__instruction {
	margin: 0 0 0.75rem;
	color: var(--wcbm-muted);
	font-size: 0.85rem;
}

.wcbm-reschedule-times__week {
	margin: 0 0 0.85rem;
	padding: 0.75rem 0.85rem;
	border-radius: 10px;
	border: 1px solid #fde68a;
	background: #fffbeb;
	color: var(--wcbm-ink);
	font-size: 0.85rem;
}

.wcbm-reschedule-times__week[hidden] {
	display: none !important;
}

.wcbm-week-usage-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.3rem;
}

.wcbm-week-usage-list strong {
	font-weight: 650;
}

.wcbm-times-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
	gap: 0.5rem;
}

.wcbm-shell .wcbm-time,
.woocommerce-MyAccount-content .wcbm-shell button.wcbm-time {
	appearance: none;
	-webkit-appearance: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-width: 0;
	margin: 0;
	border: 1px solid var(--wcbm-line);
	background: var(--wcbm-wash);
	background-image: none;
	border-radius: 10px;
	padding: 0.7rem 0.45rem;
	font: inherit;
	font-size: 0.85rem;
	font-weight: 600;
	line-height: 1.2;
	text-transform: none;
	letter-spacing: normal;
	color: var(--wcbm-ink);
	box-shadow: none;
	cursor: pointer;
	transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.wcbm-shell .wcbm-time:hover:not(:disabled),
.woocommerce-MyAccount-content .wcbm-shell button.wcbm-time:hover:not(:disabled) {
	border-color: var(--wcbm-accent);
	color: var(--wcbm-ink);
}

.wcbm-shell .wcbm-time.is-selected,
.woocommerce-MyAccount-content .wcbm-shell button.wcbm-time.is-selected {
	background: var(--wcbm-accent);
	border-color: var(--wcbm-accent);
	color: #111;
}

.wcbm-shell .wcbm-time:disabled,
.wcbm-shell .wcbm-time.is-unavailable,
.wcbm-shell .wcbm-time.is-limit,
.woocommerce-MyAccount-content .wcbm-shell button.wcbm-time:disabled,
.woocommerce-MyAccount-content .wcbm-shell button.wcbm-time.is-unavailable,
.woocommerce-MyAccount-content .wcbm-shell button.wcbm-time.is-limit {
	opacity: 0.4;
	cursor: not-allowed;
	text-decoration: line-through;
}

.wcbm-time.is-current {
	box-shadow: inset 0 0 0 2px #94a3b8;
}

.wcbm-calendar-notes {
	margin-top: 0.9rem;
	font-size: 0.82rem;
	color: var(--wcbm-muted);
}

.wcbm-modal__footer {
	display: flex;
	justify-content: flex-end;
	gap: 0.65rem;
	margin-top: 1.15rem;
	padding-top: 1rem;
	border-top: 1px solid var(--wcbm-line);
}

.wcbm-shell.is-loading {
	opacity: 0.72;
	pointer-events: none;
}

@media (max-width: 1100px) {
	.wcbm-layout,
	.wcbm-reschedule-grid {
		grid-template-columns: 1fr;
	}

	.wcbm-booking-card,
	.wcbm-membership-card {
		flex-direction: column;
	}

	.wcbm-booking-card__actions,
	.wcbm-membership-card__actions {
		justify-content: flex-start;
	}

	.wcbm-booking-card__locked,
	.wcbm-membership-card__locked {
		text-align: left;
		max-width: none;
	}
}
