/* This stylesheet is currently used by both viewBookingDetails.html and individualPost.html */
/* Most styles for these pages are defined inline in their respective templates */

/* Legacy styles below may be used by other pages - verify before removing */

.booking-summary-section {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.booking-summary-header {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.summary-subtitle {
	color: #6c757d;
	font-size: 0.95rem;
}

.booking-summary-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
	gap: 1.5rem;
	align-items: stretch;
}

.rental-timeline-card {
	background: linear-gradient(135deg, rgba(67, 209, 175, 0.08), rgba(43, 160, 132, 0.05));
	border: 1px solid rgba(67, 209, 175, 0.22);
	border-radius: 14px;
	padding: 1.5rem;
	box-shadow: 0 8px 24px rgba(67, 209, 175, 0.12);
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.rental-timeline {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.timeline-step {
	display: flex;
	gap: 1rem;
}

.timeline-icon {
	font-size: 2rem;
	line-height: 1;
}

.timeline-body {
	flex: 1;
	min-width: 0;
}

.timeline-heading {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
}

.timeline-step-indicator {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 50%;
	background: #43D1AF;
	color: #fff;
	font-weight: 700;
	font-size: 0.95rem;
	box-shadow: 0 4px 12px rgba(67, 209, 175, 0.25);
	flex-shrink: 0;
}

.timeline-title {
	font-weight: 600;
	color: #104d3d;
	margin-bottom: 0.25rem;
}

.timeline-meta {
	font-size: 0.9rem;
	line-height: 1.4;
	color: #495057;
}

.timeline-info-btn {
	border: none;
	background: transparent;
	color: #2BA084;
	font-size: 1.1rem;
	padding: 0.25rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: color 0.2s ease, transform 0.2s ease;
}

.timeline-info-btn:hover,
.timeline-info-btn:focus {
	color: #1F7A63;
	transform: translateY(-1px);
	outline: none;
}

.pricing-summary {
	background: #fff;
	border: 1px solid #e9ecef;
	border-radius: 14px;
	padding: 1.5rem;
	box-shadow: 0 10px 28px rgba(16, 77, 61, 0.1);
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.pricing-header {
	display: flex;
	align-items: center;
	font-weight: 600;
	color: #2BA084;
	font-size: 1rem;
	margin-bottom: 0.25rem;
}

.pricing-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	font-size: 0.95rem;
	color: #495057;
}

.pricing-label {
	font-weight: 500;
	color: #6c757d;
}

.pricing-value {
	font-weight: 600;
	color: #104d3d;
}

.pricing-total {
	margin-top: 0.35rem;
	padding-top: 0.75rem;
	border-top: 1px solid #dee2e6;
	font-size: 1.1rem;
}

.pricing-total .pricing-value {
	font-size: 1.2rem;
	color: #2BA084;
}

.booking-summary-preview {
	animation: bookingSummarySlideDown 0.3s ease;
}

@keyframes bookingSummarySlideDown {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 768px) {
	.booking-summary-layout {
		grid-template-columns: 1fr;
	}

	.timeline-heading {
		flex-direction: column;
		align-items: flex-start;
	}

	.timeline-info-btn {
		align-self: flex-end;
	}
}

/* Booking details layout + components previously inline */

.booking-details-container {
	max-width: 1200px;
	margin: 2rem auto;
	padding: 0 1rem;
}

.booking-header {
	background: linear-gradient(135deg, #43D1AF, #2BA084);
	color: #fff;
	padding: 2rem;
	border-radius: 16px 16px 0 0;
	margin-bottom: 0;
}

.card-rounded {
	border-radius: 1rem;
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/*.card-rounded:hover {
	transform: translateY(-2px);
	box-shadow: 0 .5rem 1rem rgba(0,0,0,.08) !important;
}*/

.card-surface {
	border-radius: 1rem;
	background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/*.card-surface:hover {
	transform: translateY(-2px);
	box-shadow: 0 .5rem 1rem rgba(0,0,0,.08) !important;
}*/

.card-gradient-header {
	background: linear-gradient(135deg, #f8fbfa 0%, #ffffff 100%);
	border-bottom: 1px solid rgba(67, 209, 175, 0.12);
}

.blocked-period-card {
	background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
	border: 2px solid #667eea;
}

.blocked-period-title {
	color: #667eea;
	font-weight: 700;
}

.blocked-period-hero {
	font-size: 2.5rem;
	color: #667eea;
	margin-bottom: 1rem;
}

.blocked-period-copy {
	color: #4a5568;
	font-weight: 600;
}

.blocked-period-note {
	color: #6c757d;
}

.date-update-card {
	background: linear-gradient(135deg, #fff8e1, #fff3cd);
	border: 2px solid #ffc107;
}

.date-update-title {
	color: #856404;
	font-weight: 700;
}

.date-update-value {
	color: #856404;
	font-weight: 600;
}

.date-update-toggle-btn {
	border: none;
	background: transparent;
	color: #856404;
}

.date-update-chevron {
	font-size: 1.5rem;
	transition: transform 0.3s ease;
}

.date-update-divider {
	border-color: #ffc107;
	opacity: 0.3;
}

.date-update-alert-warning {
	background: #fff3cd;
	border-color: #ffc107;
}

.date-update-alert-info {
	background: #e7f3ff;
	border-color: #0dcaf0;
}

.datepicker-static-input {
	cursor: pointer;
	background-color: #fff;
}

.booking-comparison-card {
	background: linear-gradient(135deg, #f8f9fa, #e9ecef);
	border-radius: 1rem;
	border: 1px solid rgba(0, 0, 0, 0.05);
}

.comparison-divider {
	border-bottom: 1px dashed #dee2e6;
}

.comparison-total-new {
	font-size: 1.25rem;
	font-weight: 700;
	color: #0d6efd;
}

.cost-difference-value {
	font-size: 0.95rem;
}

.date-update-helper {
	font-size: 0.9rem;
}

.btn-date-update-submit {
	font-weight: 600;
	border-radius: 12px;
	padding: 0.875rem;
}

.date-update-hint {
	font-size: 0.85rem;
	color: #6c757d;
}

.cancellation-card {
	border-radius: 1rem;
	background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
	border: 2px solid #dc3545;
}

.cancellation-title {
	color: #dc3545;
	font-weight: 600;
}

.btn-cancel-request {
	border-radius: 0.75rem;
	padding: 0.75rem 1.25rem;
	font-weight: 600;
	box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.item-details-card {
	border-radius: 1rem;
	background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.item-details-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
}

.item-details-heading {
	color: #1a2e3a;
	font-weight: 600;
	display: flex;
	align-items: center;
}

.item-details-heading .bi {
	color: #43D1AF;
}

.item-details-chevron {
	color: #43D1AF;
	font-size: 1.2rem;
	transition: transform 0.3s ease;
}

.item-details-body {
	margin-top: 1.5rem;
}

.item-details-row {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding-bottom: 1rem;
	margin-bottom: 1rem;
	border-bottom: 1px solid rgba(67, 209, 175, 0.12);
}

.item-details-row:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.item-details-icon {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 0.75rem;
	color: #fff;
	box-shadow: 0 4px 12px rgba(67, 209, 175, 0.15);
}

.icon-pill-mint {
	background: linear-gradient(135deg, #43D1AF 0%, #2BA084 100%);
	box-shadow: 0 4px 12px rgba(67, 209, 175, 0.25);
}

.icon-pill-violet {
	background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
	box-shadow: 0 4px 12px rgba(139, 92, 246, 0.25);
}

.icon-pill-rose {
	background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
	box-shadow: 0 4px 12px rgba(236, 72, 153, 0.25);
}

.icon-pill-slate {
	background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
	box-shadow: 0 4px 12px rgba(107, 114, 128, 0.25);
}

.icon-condition-new {
	background: linear-gradient(135deg, #10b981 0%, #059669 100%);
	box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.icon-condition-like-new {
	background: linear-gradient(135deg, #43D1AF 0%, #2BA084 100%);
	box-shadow: 0 4px 12px rgba(67, 209, 175, 0.25);
}

.icon-condition-good {
	background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
	box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.icon-condition-well-used {
	background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
	box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}

.icon-condition-default {
	background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
	box-shadow: 0 4px 12px rgba(107, 114, 128, 0.25);
}

.item-details-label {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #6c757d;
	margin-bottom: 0.2rem;
}

.item-details-value {
	font-size: 1.1rem;
	font-weight: 600;
	color: #1a2e3a;
}

.item-details-value--small {
	font-size: 0.95rem;
	line-height: 1.4;
}

.item-details-description {
	line-height: 1.6;
	font-size: 0.9rem;
	color: #6c757d;
}

.booking-content {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
	overflow: hidden;
}

.booking-content--flush-top {
	border-radius: 0 0 16px 16px;
}

.review-approve-card {
	border-radius: 16px 16px 0 0;
	background: linear-gradient(135deg, #fffef8 0%, #fff8e4 55%, #ffe6b8 100%);
	border-top: 6px solid #ffb347;
	box-shadow: 0 12px 32px rgba(255, 174, 61, 0.2);
	padding: 1.75rem 2rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	overflow: visible;
}

.review-approve-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.review-approve-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	text-transform: uppercase;
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	font-weight: 700;
	color: #a45705;
	background: rgba(255, 255, 255, 0.9);
	border-radius: 999px;
	padding: 0.4rem 0.95rem;
	border: 1px solid rgba(255, 179, 71, 0.4);
}

.review-approve-booking {
	font-size: 0.85rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #915217;
}

.review-approve-title {
	font-size: 1.2rem;
	font-weight: 700;
	color: #7a4705;
	margin: 0;
}

.review-approve-copy {
	color: #6a4a15;
	font-size: 0.95rem;
	margin: 0;
}

.review-approve-note {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	background: rgba(255, 255, 255, 0.92);
	border-left: 4px solid #f97316;
	border-radius: 12px;
	padding: 0.75rem 1rem;
	color: #8a4313;
}

.review-approve-note p {
	font-size: 0.95rem;
	color: inherit;
}

.review-approve-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.review-approve-actions .btn {
	flex: 1 1 220px;
	border-radius: 999px;
	font-weight: 600;
	padding: 0.85rem 1.5rem;
}

.review-approve-actions .btn-outline-light {
	border-color: rgba(15, 118, 110, 0.3);
	color: #125546;
	background: rgba(15, 118, 110, 0.08);
}

.review-approve-actions .btn-outline-light:hover,
.review-approve-actions .btn-outline-light:focus {
	background: rgba(15, 118, 110, 0.15);
	color: #0f4f3e;
}

@media (max-width: 768px) {
	.review-approve-card {
		padding: 1.25rem 1.5rem;
	}

	.review-approve-actions {
		flex-direction: column;
	}
}

.user-info-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	margin-bottom: 1.5rem;
	align-items: start;
}

.user-info-column {
	display: flex;
	flex-direction: column;
	min-height: 0;
	width: 100%;
	min-width: 0;
	overflow: hidden;
}

.contact-toggle {
	background: #fff;
	border: 2px dashed #43D1AF;
	border-radius: 10px;
	padding: 1.125rem 1.5rem;
	margin-top: 1.5rem;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: space-between;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.lifecycle-card {
	background: #f8f9fa;
	border-radius: 12px;
	padding: 1.75rem;
	margin-bottom: 2rem;
	border: 1px solid rgba(67, 209, 175, 0.15);
	box-shadow: 0 6px 20px rgba(67, 209, 175, 0.08);
}

.timeline-list {
	list-style: none;
	margin: 0;
	padding-left: 1.75rem;
	position: relative;
}

.timeline-list::before {
	content: '';
	position: absolute;
	left: 10px;
	top: 0;
	bottom: 0;
	width: 2px;
	background: #e9ecef;
	border-radius: 2px;
}

.timeline-entry {
	position: relative;
	margin-bottom: 2rem;
	padding-left: 1.5rem;
}

.timeline-entry:last-child {
	margin-bottom: 0;
}

.timeline-marker {
	position: absolute;
	left: -1.75rem;
	top: 0.25rem;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background-color: #fff;
	border: 2px solid #dee2e6;
	box-shadow: 0 0 0 2px #fff;
	z-index: 1;
	transition: all 0.3s ease;
}

@keyframes pulse-green {
	0% {
		box-shadow: 0 0 0 0 rgba(43, 160, 132, 0.4);
	}
	70% {
		box-shadow: 0 0 0 6px rgba(43, 160, 132, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(43, 160, 132, 0);
	}
}

.timeline-entry-current .timeline-marker {
	width: 16px;
	height: 16px;
	border-color: #2ba084;
	background-color: #2ba084;
	animation: pulse-green 2s infinite;
}

.timeline-entry-current .timeline-content {
	background: #f8f9fa;
	border: 1px solid #e9ecef;
	border-radius: 12px;
	padding: 1rem 1.25rem;
	margin-top: -0.5rem;
}

.timeline-entry .timeline-content .badge {
	font-size: 0.65rem;
	letter-spacing: 0.5px;
}

.collapse-toggle .bi-chevron-down {
	transition: transform 0.2s ease;
}

.collapse-toggle[aria-expanded="true"] .bi-chevron-down {
	transform: rotate(180deg);
}

@media (max-width: 768px) {
	.lifecycle-card {
		padding: 1.25rem;
	}

	.timeline-list {
		padding-left: 1.25rem;
	}

	.timeline-marker {
		left: -1.45rem;
	}
}

.contact-toggle.active {
	border-style: solid;
	background: linear-gradient(135deg, rgba(67, 209, 175, 0.08), rgba(43, 160, 132, 0.08));
}

.contact-toggle:hover {
	background: linear-gradient(135deg, rgba(67, 209, 175, 0.08), rgba(43, 160, 132, 0.08));
	border-color: #2BA084;
	border-style: solid;
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-toggle-left {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.contact-info-display {
	background: linear-gradient(135deg, rgba(67, 209, 175, 0.05), rgba(43, 160, 132, 0.05));
	border: 2px solid #43D1AF;
	border-radius: 12px;
	padding: 1.5rem;
	margin-top: 1rem;
	margin-bottom: 0.5rem;
	display: none;
	animation: slideDown 0.3s ease;
	width: 100%;
	box-sizing: border-box;
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.contact-info-display.show {
	display: block;
}

.contact-info-header {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
	color: #2BA084;
	font-weight: 600;
	font-size: 0.95rem;
}

.contact-number {
	font-size: 1.15rem;
	font-weight: 600;
	color: #2BA084;
	padding: 0.75rem 1rem;
	background: #fff;
	border-radius: 8px;
	display: block;
	margin: 0.5rem 0;
	letter-spacing: 0.5px;
	word-break: break-word;
	width: 100%;
	box-sizing: border-box;
}

.contact-info-note {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	margin-top: 0.75rem;
	padding: 0.75rem;
	background: rgba(255, 255, 255, 0.7);
	border-radius: 8px;
}

.booking-section {
	background: #f8f9fa;
	padding: 1.5rem;
	border-radius: 12px;
	margin-bottom: 1.5rem;
	width: 100%;
}

.status-icon-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.9rem;
	height: 2.9rem;
	border-radius: 999px;
	background: transparent;
	border: 1px solid rgba(26, 46, 58, 0.25);
	color: #1a2e3a;
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.status-icon-chip:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

.status-icon-chip i {
	font-size: 1.35rem;
	line-height: 1;
}

.booking-title {
	color: #1a2e3a;
	font-weight: 700;
	line-height: 1.3;
}

.booking-subtitle {
	font-size: 0.95rem;
}

.badge-unavailable {
	border-radius: 0.5rem;
	padding: 0.5rem 1rem;
	background: #764ba2;
	color: #fff;
	font-weight: 600;
	font-size: 0.875rem;
}

.text-gear-green {
	color: #43D1AF !important;
}

.btn-gear-pill {
	border-radius: 0.75rem;
	font-weight: 500;
	padding: 12px 20px;
}

.badge-compact {
	font-size: 0.7rem;
	padding: 0.25rem 0.5rem;
}

.profile-thumbnail {
	width: 70px;
	height: 70px;
	object-fit: cover;
	border: 3px solid #43D1AF;
}

.text-muted-note {
	font-size: 0.9rem;
}

.review-modal-content {
	border: none;
	border-radius: 16px;
	overflow: hidden;
}

.review-modal-header {
	background: linear-gradient(135deg, #43D1AF, #2BA084);
	color: #fff;
	border: none;
}

.review-modal-subtitle {
	font-size: 0.9rem;
}

.review-modal-thumbnail {
	width: 80px;
	height: 80px;
	object-fit: cover;
}

.profile-initial-badge {
	width: 70px;
	height: 70px;
	font-size: 24px;
	color: #fff;
	font-weight: bold;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: linear-gradient(135deg, #43D1AF 0%, #2BA084 100%);
}

.card-name-title {
	color: #2c3e50;
	font-weight: 600;
}

.detail-value {
	color: #212529;
	font-weight: 600;
}

.financial-highlight {
	background: linear-gradient(135deg, #43D1AF, #2BA084);
	color: #fff;
	padding: 1rem;
	border-radius: 8px;
	text-align: center;
	margin: 1rem 0;
}

.item-image-carousel {
	position: relative;
	border-radius: 1rem;
	background: #f8fbfa;
	padding: 0.5rem;
	border: 1px solid rgba(31, 122, 99, 0.08);
}

.item-image-carousel .carousel-inner {
	border-radius: 0.75rem;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 12px 32px rgba(15, 118, 110, 0.12);
}

.item-image-carousel img {
	height: 400px;
	max-height: 500px;
	width: 100%;
	object-fit: contain;
	background: linear-gradient(135deg, #fdfdfd, #f6faf9);
	border-radius: 0.75rem;
	transition: opacity 0.25s ease;
}

.item-image-carousel .carousel-control-prev,
.item-image-carousel .carousel-control-next {
	width: auto;
	top: 50%;
	bottom: auto;
	transform: translateY(-50%);
	opacity: 1;
	background: transparent;
	border: none;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.item-image-carousel .carousel-control-prev {
	left: 18px;
}

.item-image-carousel .carousel-control-next {
	right: 18px;
}

.item-image-carousel .carousel-control-prev-icon,
.item-image-carousel .carousel-control-next-icon {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.6);
	background-color: rgba(15, 118, 110, 0.85);
	background-position: center;
	background-size: 40% 40%;
	box-shadow: 0 12px 24px rgba(15, 118, 110, 0.25);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.item-image-carousel .carousel-control-prev:hover .carousel-control-prev-icon,
.item-image-carousel .carousel-control-next:hover .carousel-control-next-icon {
	transform: scale(1.05);
	box-shadow: 0 12px 24px rgba(15, 118, 110, 0.35);
}

.item-image-carousel .carousel-indicators {
	margin-bottom: 0.5rem;
}

.item-image-carousel .carousel-indicators button {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: rgba(15, 118, 110, 0.4);
	border: none;
	opacity: 0.6;
	transition: opacity 0.3s ease, background-color 0.3s ease;
}

.item-image-carousel .carousel-indicators .active {
	background-color: rgba(15, 118, 110, 0.9);
}

.carousel-photo-counter {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.35rem 0.85rem;
	border-radius: 999px;
	font-size: 0.7rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-weight: 600;
	color: #0f766e;
	background: rgba(15, 118, 110, 0.12);
	border: 1px solid rgba(15, 118, 110, 0.25);
	box-shadow: 0 6px 18px rgba(15, 118, 110, 0.08);
	white-space: nowrap;
}

.carousel-thumbnail-strip {
	display: flex;
	gap: 0.75rem;
	margin-top: 1.15rem;
	overflow-x: auto;
	padding-bottom: 0.35rem;
	scrollbar-width: thin;
	scrollbar-color: rgba(15, 118, 110, 0.4) transparent;
}

.carousel-thumbnail-strip button {
	border: none;
	background: transparent;
	padding: 0;
	border-radius: 0.65rem;
	overflow: hidden;
	position: relative;
	flex: 0 0 94px;
	height: 70px;
	box-shadow: 0 6px 18px rgba(43, 160, 132, 0.16);
	opacity: 0.7;
	transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.carousel-thumbnail-strip button img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.carousel-thumbnail-strip button::after {
	content: '';
	position: absolute;
	inset: 0;
	border: 2px solid transparent;
	border-radius: inherit;
	transition: border-color 0.2s ease;
}

.carousel-thumbnail-strip button.active,
.carousel-thumbnail-strip button:hover {
	opacity: 1;
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(15, 118, 110, 0.25);
}

.carousel-thumbnail-strip button.active::after {
	border-color: rgba(17, 94, 89, 0.9);
}

.user-card {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem;
	background: #fff;
	border-radius: 8px;
	border: 1px solid #e9ecef;
}

.user-avatar {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: linear-gradient(135deg, #43D1AF, #2BA084);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-weight: 600;
	font-size: 1.5rem;
}

.user-info h6 {
	margin: 0 0 0.25rem 0;
	color: #2BA084;
}

.user-info p {
	margin: 0;
	color: #6c757d;
	font-size: 0.875rem;
}

.review-banner {
	margin: 0 2rem 1.5rem;
}

.review-banner-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.875rem 1.25rem;
	border-radius: 12px;
	border: 1px solid rgba(58, 107, 137, 0.15);
	background: #f8fbff;
}

.review-banner-left {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-width: 0;
}

.review-banner-icon {
	font-size: 1.25rem;
	flex-shrink: 0;
}

.review-banner-left strong {
	display: block;
	font-size: 0.9rem;
	line-height: 1.3;
	color: #2f5872;
}

.review-banner-sub {
	display: block;
	font-size: 0.8rem;
	color: #6d8597;
	line-height: 1.3;
}

.review-banner-btn {
	background: linear-gradient(135deg, #3a6b89, #2f566e);
	border: none;
	border-radius: 8px;
	padding: 0.5rem 1.15rem;
	font-size: 0.85rem;
	font-weight: 600;
	color: #fff;
	white-space: nowrap;
	flex-shrink: 0;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.review-banner-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(47, 86, 110, 0.25);
	color: #fff;
}

/* -- State variants -- */
.review-banner--action {
	background: linear-gradient(135deg, #fffdf5 0%, #fff8e4 100%);
	border-color: rgba(255, 205, 97, 0.35);
}

.review-banner--action .review-banner-icon {
	color: #c5922a;
}

.review-banner--waiting {
	background: linear-gradient(135deg, #f0f6fb 0%, #f8fbff 100%);
	border-color: rgba(58, 107, 137, 0.15);
}

.review-banner--waiting .review-banner-icon {
	color: #3a6b89;
}

.review-banner--complete {
	background: linear-gradient(135deg, #f0faf4 0%, #f7fcf9 100%);
	border-color: rgba(60, 153, 110, 0.2);
}

.review-banner--complete .review-banner-icon {
	color: #3c996e;
}

.review-banner--complete strong {
	color: #2f684a;
}

.review-banner--complete .review-banner-sub {
	color: #5a917a;
}

@media (max-width: 992px) {
	.review-banner {
		margin: 0 1.5rem 1.25rem;
	}
}

@media (max-width: 768px) {
	.review-banner {
		margin: 0 1rem 1rem;
	}

	.review-banner-inner {
		flex-direction: column;
		align-items: stretch;
		gap: 0.75rem;
		padding: 1rem;
	}

	.review-banner-btn {
		width: 100%;
		text-align: center;
	}
}

.action-buttons {
	display: flex;
	gap: 1rem;
	justify-content: center;
	padding: 1.5rem;
	background: #f8f9fa;
	border-top: 1px solid #e9ecef;
}

.btn-custom {
	padding: 0.75rem 1.5rem;
	border-radius: 8px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s ease;
}

.btn-primary-custom {
	background: linear-gradient(135deg, #43D1AF, #2BA084);
	color: #fff;
	border: none;
}

.btn-outline-custom {
	background: transparent;
	color: #43D1AF;
	border: 2px solid #43D1AF;
}

.photo-collapse-toggle:focus,
.photo-collapse-toggle:focus-visible,
.photo-collapse-toggle:active {
	outline: none;
	box-shadow: none;
}

.photo-collapse-toggle:focus-visible {
	box-shadow: 0 0 0 2px rgba(67, 209, 175, 0.3);
}

.btn-custom:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.booking-header-actions {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 1rem;
}

.booking-status-wrapper {
	width: 100%;
	display: flex;
	justify-content: flex-end;
}

.header-messaging-card {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	background: rgba(255, 255, 255, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 14px;
	padding: 0.75rem 1rem;
	color: #fff;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
	backdrop-filter: blur(12px);
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
	min-width: 220px;
}

.header-messaging-card:hover,
.header-messaging-card:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
	background: rgba(255, 255, 255, 0.24);
	outline: none;
}

.header-messaging-card:focus-visible {
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4);
}

.header-messaging-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
	font-size: 1.25rem;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
	flex-shrink: 0;
}

.header-messaging-copy {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	flex: 1 1 auto;
	min-width: 0;
}

.header-messaging-label {
	font-size: 0.95rem;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.header-messaging-note {
	font-size: 0.75rem;
	font-weight: 400;
	opacity: 0.85;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 200px;
}

.messaging-unread-indicator {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2rem;
	height: 2rem;
	padding: 0 0.5rem;
	border-radius: 999px;
	background: rgba(245, 101, 101, 0.9);
	color: #fff;
	font-size: 0.8rem;
	font-weight: 700;
	box-shadow: 0 4px 12px rgba(245, 101, 101, 0.35);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.messaging-unread-indicator.hidden {
	display: none !important;
}

.btn-primary-custom:hover,
.btn-primary-custom:focus-visible {
	background: linear-gradient(135deg, #2BA084, #1F7A63);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(43, 160, 132, 0.3);
}

#updateBookingDatesSubmit {
	transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

#updateBookingDatesSubmit:disabled,
#updateBookingDatesSubmit[data-dates-changed="false"] {
	background: linear-gradient(135deg, #e9ecef, #dee2e6);
	color: #6c757d;
	border-color: #d1d5db;
	box-shadow: none;
	transform: none;
	pointer-events: none;
}

#updateBookingDatesSubmit:disabled .label-text,
#updateBookingDatesSubmit[data-dates-changed="false"] .label-text {
	color: inherit;
	opacity: 0.85;
}

@media (max-width: 768px) {
	.booking-header-actions {
		width: 100%;
		align-items: stretch;
		margin-top: 1rem;
	}

	.booking-status-wrapper {
		justify-content: flex-start;
	}

	.header-messaging-card {
		width: 100%;
		min-width: 0;
	}

	.header-messaging-note {
		max-width: 100%;
		white-space: normal;
	}

	.user-info-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.booking-header {
		padding: 1.5rem;
	}

	.booking-header h2 {
		font-size: 1.5rem;
	}

	.booking-header .d-flex.gap-3 {
		flex-direction: column;
		gap: 0.5rem !important;
	}

	.action-buttons {
		flex-direction: column;
	}
}

/* Review modal + star rating */

.star-rating-input {
	flex-direction: row-reverse;
	justify-content: center;
}

.star-rating-input input[type="radio"] {
	display: none;
}

.star-rating-input .star-label {
	font-size: 2.5rem;
	color: #ddd;
	cursor: pointer;
	transition: all 0.2s ease;
}

.star-rating-input .star-label:hover,
.star-rating-input .star-label:hover ~ .star-label,
.star-rating-input input[type="radio"]:checked ~ .star-label {
	color: #ffc107;
	transform: scale(1.1);
}

.star-rating-input .star-label:hover {
	transform: scale(1.2);
}

.modal.fade .modal-dialog {
	transform: scale(0.8);
	opacity: 0;
	transition: all 0.3s ease;
}

.modal.show .modal-dialog {
	transform: scale(1);
	opacity: 1;
}

.review-description-input {
	border-radius: 8px;
	border: 2px solid #e9ecef;
}

.review-modal-preview {
	background: #f8f9fa;
	border-radius: 12px;
}

.review-modal-cancel {
	border-radius: 8px;
	padding: 0.5rem 1.5rem;
}

.review-modal-submit {
	border-radius: 8px;
	padding: 0.5rem 1.5rem;
	background: linear-gradient(135deg, #43D1AF, #2BA084);
	border: none;
}

.reviewing-user-copy {
	font-size: 0.9rem;
}

/* Status Badge Enhancements */
.booking-status-chip {
	border-radius: 50rem;
	box-shadow: 0 2px 4px rgba(0,0,0,0.05);
	transition: all 0.2s ease;
}

.booking-status-chip:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 6px rgba(0,0,0,0.08);
}

/* Photo Preview Styles */
#photoPreview {
	transition: opacity 0.2s ease, height 0.2s ease;
}

/* Hide preview when gallery is shown */
/* We use the sibling selector. Since #photoPreview comes BEFORE #photoGalleryCollapse in DOM, 
   we can't use CSS alone easily if we target based on #photoGalleryCollapse class.
   However, we can use the aria-expanded attribute on the button if we had a parent class, 
   or we can use JS. 
   
   Actually, let's use a simple JS snippet or just rely on the fact that 
   when the collapse is shown, we might want to hide this.
   
   Let's use a utility class approach or just add a small script.
   But wait, I can use the :has selector if supported, or just add a script.
   
   Let's add a script to toggle a class on the preview.
*/

.photo-preview-hidden {
	display: none !important;
}
