/* /book/assets/book.css */

.book-page-shell {
	position: relative;
}

.book-steps-stack {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.book-steps-stack > .book-step-card {
	width: 100%;
	margin-bottom: 0 !important;
}

.book-step-card,
.book-surface-card,
.book-list-card,
.book-empty-state {
	border-radius: 1rem;
}

.book-step-card .card-body,
.book-surface-card .card-body {
	padding: 1.75rem;
}

.book-section-kicker {
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--bs-secondary-color, #6c757d);
}

.book-section-intro,
.book-muted-note,
.book-meta-line,
.book-table-note,
.book-live-status {
	color: var(--bs-secondary-color, #6c757d);
}

.book-choice-card {
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 1rem;
	background: #fff;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease, background-color 0.15s ease;
	cursor: pointer;
}

.book-choice-card:hover {
	transform: translateY(-1px);
	box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.08);
}

.book-choice-card.is-selected {
	border-color: var(--bs-primary, #0d6efd);
	box-shadow: 0 0.75rem 1.5rem rgba(13, 110, 253, 0.14);
	background: rgba(13, 110, 253, 0.045);
}

.book-choice-card.is-disabled {
	cursor: default;
	opacity: 0.72;
}

.book-choice-card .book-choice-avatar {
	width: 60px;
	height: 60px;
	object-fit: cover;
}

.book-choice-card .book-choice-avatar-logo {
	border-radius: 0.85rem;
	object-fit: contain;
	background: #fff;
	padding: 0.35rem;
	border: 1px solid rgba(0, 0, 0, 0.08);
}

.book-choice-card .book-choice-title,
.book-list-title {
	font-size: 1.08rem;
	font-weight: 700;
	line-height: 1.35;
}

.book-choice-card .book-choice-actions {
	min-width: 120px;
}

.book-offering-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.book-offering-badges .badge {
	padding: 0.45rem 0.7rem;
	font-size: 0.95rem;
	font-weight: 600;
}

.book-offering-description {
	color: var(--bs-secondary-color, #6c757d);
	line-height: 1.6;
}

.book-page-shell .datepicker .form-control,
#bookManageApp .datepicker .form-control {
	min-width: 0;
}

.book-page-shell .datepicker .input-group-text,
#bookManageApp .datepicker .input-group-text {
	cursor: pointer;
}

.book-page-shell .datepicker .form-control[readonly],
#bookManageApp .datepicker .form-control[readonly] {
	background: #fff;
}

.book-slot-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.book-slot-grid .btn {
	min-width: 8.5rem;
}

.book-summary-card {
	padding: 1.25rem 1.35rem;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 1rem;
	background: rgba(108, 117, 125, 0.05);
}

.book-summary-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.book-summary-list li + li {
	margin-top: 0.9rem;
}

.book-summary-list .book-summary-label {
	display: block;
	font-weight: 700;
	margin-bottom: 0.2rem;
}

.book-summary-list .book-summary-value-muted {
	color: var(--bs-secondary-color, #6c757d);
}

.book-segmented .btn {
	min-width: 8rem;
}

.book-segmented.book-segmented-tight .btn {
	min-width: 6.25rem;
}

.book-inline-status {
	min-height: 1.5rem;
}

.book-empty-state {
	border: 1px dashed rgba(0, 0, 0, 0.16);
	background: rgba(108, 117, 125, 0.04);
	padding: 1.15rem 1.2rem;
}

.book-provider-list,
.book-offering-list,
.book-availability-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.book-list-card {
	border: 1px solid rgba(0, 0, 0, 0.08);
	background: #fff;
	padding: 1.15rem 1.3rem;
	box-shadow: 0 0.35rem 0.95rem rgba(0, 0, 0, 0.04);
}

.book-list-actions {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.book-modal-section + .book-modal-section {
	margin-top: 1.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.book-control-note {
	color: var(--bs-secondary-color, #6c757d);
	margin-top: 0.45rem;
	display: block;
	line-height: 1.4;
}

.book-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.45rem 0.75rem;
	border-radius: 999px;
	font-weight: 600;
	background: rgba(108, 117, 125, 0.08);
	color: inherit;
	white-space: nowrap;
}

.book-pill-success {
	background: rgba(25, 135, 84, 0.12);
	color: #198754;
}

.book-pill-warning {
	background: rgba(255, 193, 7, 0.18);
	color: #664d03;
}

.book-pill-info {
	background: rgba(13, 202, 240, 0.18);
	color: #055160;
}

.book-pill-danger {
	background: rgba(220, 53, 69, 0.14);
	color: #842029;
}

.book-table-meta {
	margin-top: 0.35rem;
	color: var(--bs-secondary-color, #6c757d);
}

.book-table-meta i,
.book-compact-line i,
.book-booking-detail-line i,
.book-booking-note i {
	line-height: 1;
}

.book-icon-circle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.6rem;
	height: 2.6rem;
	border-radius: 999px;
	background: rgba(13, 110, 253, 0.1);
	color: var(--bs-primary, #0d6efd);
	font-size: 1.1rem;
}

.book-live-status .text-success,
.book-inline-status .text-success {
	font-weight: 600;
}

.book-submit-row .btn,
.book-nowrap {
	white-space: nowrap;
}

.book-success-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.book-success-actions .btn {
	white-space: nowrap;
}

.book-honeypot {
	position: absolute !important;
	left: -9999px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.book-compact-list {
	border-radius: 1rem;
	overflow: hidden;
}

.book-compact-list .list-group-item + .list-group-item {
	border-top-width: 1px;
}

.book-compact-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.95rem 1.1rem;
	background: #fff;
}

.book-compact-main {
	flex: 1 1 auto;
	min-width: 0;
}

.book-compact-line,
.book-booking-detail-line {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	flex-wrap: wrap;
	min-width: 0;
}

.book-compact-line-primary {
	align-items: center;
}

.book-compact-line .book-table-meta,
.book-booking-detail-line .book-table-meta {
	display: inline-flex;
	align-items: center;
	gap: 0;
	margin-top: 0;
	line-height: 1.35;
}

.book-compact-actions {
	flex: 0 0 auto;
	align-self: center;
}

.book-icon-btn {
	min-width: 2.75rem;
	padding-inline: 0.9rem;
}

.book-offering-compact-item .book-table-meta + .book-table-meta {
	margin-left: 0;
}


.book-compact-line .book-table-meta,
.book-booking-detail-line .book-table-meta {
	gap: 0.45rem;
}

.book-offering-compact-desc {
	line-height: 1.5;
}

#offeringFormMsg:empty,
#weeklyRuleFormMsg:empty,
#exceptionFormMsg:empty {
	display: none !important;
}

.book-settings-form .heading {
	margin-top: 1.75rem;
}

.book-settings-form .heading:first-child {
	margin-top: 0;
}

.book-settings-form .form-label {
	font-weight: 700;
}

.book-settings-form .input-group-text {
	white-space: nowrap;
}

.book-settings-form .form-check {
	margin-bottom: 0;
}

.book-bookings-list {
	border-radius: 1rem;
	overflow: hidden;
}

.book-booking-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 1rem 1.5rem;
	padding: 1.15rem 1.2rem;
	background: #fff;
}

.book-booking-main {
	min-width: 0;
}

.book-booking-main .book-list-title {
	margin-bottom: 0.45rem;
}

.book-booking-side {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.75rem;
	min-width: fit-content;
}

.book-booking-meta {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	align-items: flex-end;
}

.book-booking-actions,
.book-action-strip {
	display: flex;
	flex-wrap: nowrap;
	gap: 0.6rem;
	justify-content: flex-end;
	white-space: nowrap;
}

.book-booking-actions .btn,
.book-action-strip .btn {
	white-space: nowrap;
	width: auto;
}

@media (max-width: 991.98px) {
	.book-booking-row {
		grid-template-columns: 1fr;
	}

	.book-booking-side {
		align-items: flex-start;
		min-width: 0;
	}

	.book-booking-meta {
		align-items: flex-start;
	}

	.book-booking-actions,
	.book-action-strip {
		flex-wrap: wrap;
		justify-content: flex-start;
	}
}

@media (max-width: 767.98px) {
	.book-choice-card .book-choice-actions,
	.book-list-actions {
		width: 100%;
		justify-content: stretch;
	}

	.book-choice-card .book-choice-actions .btn,
	.book-list-actions .btn,
	.book-slot-grid .btn,
	.book-segmented .btn {
		flex: 1 1 auto;
	}


	.book-compact-item {
		align-items: stretch;
		flex-direction: column;
	}

	.book-compact-actions {
		align-self: stretch;
	}

	.book-compact-actions .btn-group {
		display: flex;
	}

	.book-booking-row {
		grid-template-columns: 1fr;
	}

	.book-booking-actions,
	.book-action-strip {
		justify-content: stretch;
	}

	.book-booking-actions .btn,
	.book-action-strip .btn {
		width: 100%;
	}
}
