/**
 * Airsoft Venue Booking — public booking UI.
 */

.avb-booking-root {
	max-width: 960px;
}

/* —— Tabs —— */
.avb-booking-tabs-wrap {
	border-color: #e5e7eb;
}

.avb-booking-tabs {
	border-bottom: none;
}

.avb-booking-tabs .nav-item {
	margin-bottom: 0;
}

.avb-booking-tab-link {
	font-weight: 600;
	font-size: 0.9rem;
	color: #6b7280;
	border: none;
	border-bottom: 3px solid transparent;
	border-radius: 0.375rem 0.375rem 0 0;
	padding: 0.65rem 0.5rem 0.75rem;
	background: transparent;
	transition: color 0.15s ease, border-color 0.15s ease;
}

.avb-booking-tab-link:hover {
	color: #374151;
}

.avb-booking-tab-link.active {
	color: #2563eb;
	border-bottom-color: #2563eb;
	background: transparent;
}

.avb-booking-tab-link .avb-booking-tab-label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
}

.avb-booking-tab-link .eicon-calendar {
	font-size: 1.05rem;
	line-height: 1;
}

.avb-booking-tab-link.active .eicon-calendar {
	color: #2563eb;
}

.avb-booking-tab-content {
	border-color: #e5e7eb;
}

/* —— Date accordion —— */
.avb-booking-day-card {
	border: 1px solid #e5e7eb;
	border-radius: 0.5rem;
	overflow: hidden;
	background: #fff;
}

.avb-booking-day-card:hover {
border-color:#9e9e9e;
}

.avb-booking-day-toggle {
	padding: 0.85rem 1rem;
	font-weight: 700;
	font-size: 0.8rem;
	letter-spacing: 0.04em;
	color: #111827;
	transition: background-color 0.15s ease;
}

.avb-booking-day-toggle:hover {
	background-color: #f9fafb;
}

.avb-booking-day-toggle-cal {
	color: #2563eb;
	font-size: 1.1rem;
	line-height: 1;
	flex-shrink: 0;
}

.avb-booking-day-toggle-arrow {
	color: #9ca3af;
	font-size: 1rem;
	line-height: 1;
	transition: transform 0.2s ease;
	flex-shrink: 0;
}

/* Expanded: arrow flips toward “collapse”; collapsed: points down (“more below”). */
.avb-booking-day-toggle:not(.collapsed) .avb-booking-day-toggle-arrow {
	transform: rotate(180deg);
}

.avb-booking-day-heading-text {
	flex: 1;
	min-width: 0;
}

/* —— Session rows —— */
.avb-session-rows {
	border-top: 1px solid #e5e7eb;
}

.avb-session-row {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	border: none;
	border-bottom: 1px solid #e5e7eb;
	background: #fff;
	cursor: pointer;
	text-align: inherit;
	transition: background-color 0.15s ease;
}

.avb-session-rows .avb-session-row:last-child {
	border-bottom: none;
}

.avb-session-open:hover {
	background-color: #f9fafb;
}

.avb-session-open:focus-visible {
	outline: 2px solid #2563eb;
	outline-offset: -2px;
}

.avb-session-row-inner {
	display: grid;
	grid-template-columns: minmax(6.75rem, auto) 1fr auto;
	gap: 1rem 1.25rem;
	align-items: center;
	padding: 0.95rem 1rem;
}

@media (max-width: 575.98px) {
	.avb-session-row-inner {
		grid-template-columns: 1fr;
		gap: 0.75rem;
	}

	.avb-session-actions {
		justify-content: flex-start;
	}
}

.avb-session-time-block {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.2rem;
	padding: 0.55rem 0.65rem;
	border-radius: 0.45rem;
	background-color: var(--avb-st-secondary, #ececec);
	color: var(--avb-st-primary, #000);
	font-weight: 600;
	font-size: 0.78rem;
	line-height: 1.25;
	text-align: center;
	min-width: 6.25rem;
}

.avb-session-time-block .eicon-clock {
	font-size: 1rem;
	line-height: 1;
	color: inherit;
}

.avb-session-title-line {
	font-weight: 700;
	font-size: 1rem;
	color: #111827;
	margin-bottom: 0.25rem;
}

.avb-session-spots-line {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.85rem;
	color: #6b7280;
}

.avb-session-spots-line .eicon-group {
	font-size: 1rem;
	line-height: 1;
	color: #9ca3af;
}

.avb-session-actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	justify-content: flex-end;
}

.avb-session-price-pill {
	display: inline-block;
	padding: 0.4rem 0.7rem;
	border-radius: 0.4rem;
	background-color: var(--avb-st-secondary, #ececec);
	color: var(--avb-st-primary, #000);
	font-weight: 600;
	font-size: 0.9rem;
	line-height: 1.2;
}

.avb-session-row-arrow {
	font-size: 0.85rem;
	color: #9ca3af;
	line-height: 1;
}

.avb-session-full {
	cursor: not-allowed;
	opacity: 0.58;
}

.avb-session-full .avb-session-row-inner {
	pointer-events: none;
}

/* Footer */
.avb-booking-footer {
	border-color: #e5e7eb;
	margin-top: 0.75rem;
}

.avb-booking-footer-icon {
	font-size: 1rem;
	line-height: 1;
	flex-shrink: 0;
}

.avb-modal-session-summary .card-body {
	padding: 0.75rem 1rem;
}

.avb-order-summary-table td {
	vertical-align: middle;
}

.avb-booking-confirmation {
	margin-bottom: 1rem;
}

#avb-modal-extras {
    background: whitesmoke;
    padding: 5px;
}
