﻿
.booking-detail-page,
.booking-detail-page * {
	box-sizing: border-box;
}

.booking-detail-page {
	min-height: 100vh;
	padding: 35px 24px 70px;
	background: linear-gradient(180deg, #f4f7fb, #fafbfc);
}

.booking-detail-container {
	width: min(1180px, 100%);
	margin: 0 auto;
}

.detail-back-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 20px;
	color: #315a98;
	text-decoration: none;
	font-size: 13px;
	font-weight: 700;
}

	.detail-back-link:hover {
		color: #f47a18;
	}

.booking-detail-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 25px;
	margin-bottom: 25px;
	padding: 25px 27px;
	color: #fff;
	background: linear-gradient(135deg, #142b55, #244b87);
	border-radius: 20px;
	box-shadow: 0 14px 38px rgba(20, 43, 85, .17);
}

.detail-eyebrow {
	display: block;
	margin-bottom: 7px;
	color: #f2c35e;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .09em;
	text-transform: uppercase;
}

.booking-detail-header h1 {
	margin: 0 0 9px;
	color: #fff;
	font-size: clamp(24px, 4vw, 36px);
	line-height: 1.2;
	word-break: break-word;
}

.detail-submitted {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin: 0;
	color: rgba(255, 255, 255, .72);
	font-size: 13px;
}

	.detail-submitted span {
		display: inline-flex;
		align-items: center;
		gap: 6px;
	}

.detail-status {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 13px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 800;
	white-space: nowrap;
}

.detail-status-pending {
	color: #7a4d00;
	background: #fff3cd;
}

.detail-status-contacted {
	color: #055160;
	background: #cff4fc;
}

.detail-status-confirmed {
	color: #084298;
	background: #cfe2ff;
}

.detail-status-completed {
	color: #0f5132;
	background: #d1e7dd;
}

.detail-status-cancelled {
	color: #842029;
	background: #f8d7da;
}

.booking-detail-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 24px;
	align-items: start;
}

.detail-main-column,
.detail-side-column {
	display: grid;
	gap: 20px;
}

.detail-side-column {
	position: sticky;
	top: 95px;
}

.detail-card {
	overflow: hidden;
	background: #fff;
	border: 1px solid #e4e9f1;
	border-radius: 17px;
	box-shadow: 0 9px 28px rgba(20, 42, 80, .07);
}

.detail-card-header {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 17px 20px;
	background: #f8fafc;
	border-bottom: 1px solid #e9edf3;
}

.detail-card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 35px;
	width: 35px;
	height: 35px;
	color: #f47a18;
	background: #fff2e8;
	border-radius: 10px;
}

.detail-card-header h2 {
	margin: 0;
	color: #152b54;
	font-size: 16px;
}

.detail-card-body {
	padding: 20px;
}

.detail-info-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 25px;
}

.detail-info-item {
	min-width: 0;
}

	.detail-info-item.full-width {
		grid-column: 1 / -1;
	}

.detail-info-label {
	display: block;
	margin-bottom: 5px;
	color: #667085;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.detail-info-value {
	display: block;
	color: #152b54;
	font-size: 14px;
	font-weight: 700;
	overflow-wrap: anywhere;
}

	.detail-info-value a {
		color: #315a98;
		text-decoration: none;
	}

		.detail-info-value a:hover {
			text-decoration: underline;
		}

.detail-guest-breakdown {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: 10px;
}

.guest-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 10px;
	color: #344054;
	background: #f3f6fa;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
}

.detail-route {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 15px;
	background: #f7f9fc;
	border: 1px solid #e8ecf2;
	border-radius: 12px;
}

.detail-route-location {
	flex: 1;
	min-width: 0;
}

.detail-route-arrow {
	color: #f47a18;
}

.detail-notes {
	margin: 0;
	color: #475467;
	font-size: 14px;
	line-height: 1.7;
	white-space: pre-wrap;
}

.pricing-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 12px 0;
	color: #667085;
	border-bottom: 1px solid #edf0f5;
	font-size: 13px;
}

	.pricing-row:last-child {
		border-bottom: 0;
	}

	.pricing-row strong {
		color: #152b54;
		text-align: right;
	}

.pricing-margin-positive {
	color: #087443 !important;
}

.pricing-margin-negative {
	color: #b42318 !important;
}

.status-update-form label {
	display: block;
	margin-bottom: 7px;
	color: #344054;
	font-size: 12px;
	font-weight: 700;
}

.status-update-select {
	display: block;
	width: 100%;
	min-height: 43px;
	margin-bottom: 12px;
	padding: 9px 11px;
	color: #344054;
	background: #fff;
	border: 1px solid #d0d5dd;
	border-radius: 9px;
}

.status-update-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	width: 100%;
	min-height: 44px;
	color: #fff;
	background: #152b54;
	border: 0;
	border-radius: 10px;
	cursor: pointer;
	font-size: 13px;
	font-weight: 700;
}

.detail-action-list {
	display: grid;
	gap: 9px;
}

.detail-action-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 42px;
	padding: 9px 12px;
	border-radius: 9px;
	text-decoration: none;
	font-size: 12px;
	font-weight: 700;
}

.detail-action-email {
	color: #fff;
	background: #315a98;
}

.detail-action-phone {
	color: #fff;
	background: #152b54;
}

.detail-action-whatsapp {
	color: #fff;
	background: #169b55;
}

.detail-delete-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	width: 100%;
	min-height: 42px;
	margin-top: 10px;
	color: #b42318;
	background: #fff1f0;
	border: 1px solid #fecdca;
	border-radius: 9px;
	cursor: pointer;
	font-size: 12px;
	font-weight: 700;
}

@@media (max-width: 900px) {
	.booking-detail-layout {
		grid-template-columns: 1fr;
	}

	.detail-side-column {
		position: static;
	}
}

@@media (max-width: 620px) {
	.booking-detail-page {
		padding: 24px 14px 55px;
	}

	.booking-detail-header {
		flex-direction: column;
		padding: 21px;
	}

	.detail-info-grid {
		grid-template-columns: 1fr;
	}

	.detail-info-item.full-width {
		grid-column: auto;
	}
}


