﻿/* Page Header */
.page-header {
	background: linear-gradient(135deg, #aa0000 0%, #dd0000 100%);
	color: white;
	padding: 2.5rem 0;
	margin-bottom: 2rem;
	border-radius: 0 0 1.5rem 1.5rem;
}

.page-header h1 {
	font-weight: 700;
	font-size: 1.75rem;
	color: #fff;
}

	.page-header h1 i {
		color: #fff;
	}

.page-header p {
	opacity: 0.85;
	margin-bottom: 0;
}

.btn-new-booking {
	background: rgba(255,255,255,0.15);
	border: 1px solid rgba(255,255,255,0.3);
	color: white;
	padding: 0.6rem 1.5rem;
	border-radius: 50rem;
	font-weight: 500;
	transition: all 0.2s ease;
	backdrop-filter: blur(10px);
}

	.btn-new-booking:hover {
		background: white;
		color: #0d6efd;
	}

/* Tabs */
.booking-tabs {
	border-bottom: 2px solid #e9ecef;
	margin-bottom: 1.5rem;
}

	.booking-tabs .nav-link {
		color: #6c757d;
		font-weight: 600;
		padding: 0.875rem 1.5rem;
		border: none;
		border-bottom: 3px solid transparent;
		margin-bottom: -2px;
		transition: all 0.2s ease;
		display: flex;
		align-items: center;
		gap: 0.5rem;
	}

		.booking-tabs .nav-link:hover {
			color: #dd0000;
			border-bottom-color: #dee2e6;
		}

		.booking-tabs .nav-link.active {
			color: #dd0000;
			border-bottom-color: #dd0000;
			background: none;
		}

		.booking-tabs .nav-link .badge-count {
			background: #e9ecef;
			color: #6c757d;
			font-size: 0.75rem;
			padding: 0.15rem 0.5rem;
			border-radius: 50rem;
			font-weight: 600;
			min-width: 1.5rem;
			text-align: center;
		}

		.booking-tabs .nav-link.active .badge-count {
			background: #dd0000;
			color: #fff;
		}

/* Table Styling */
.bookings-table {
	background: white;
	border-radius: 1rem;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
	overflow: hidden;
	border: 1px solid #e9ecef;
}

	.bookings-table table {
		margin-bottom: 0;
	}

	.bookings-table thead th {
		background: #f8f9fa;
		color: #495057;
		font-weight: 600;
		font-size: 0.8rem;
		text-transform: uppercase;
		letter-spacing: 0.5px;
		padding: 1rem 1.25rem;
		border-bottom: 2px solid #e9ecef;
		white-space: nowrap;
	}

	.bookings-table tbody td {
		padding: 1.25rem;
		vertical-align: middle;
		border-bottom: 1px solid #f1f3f5;
	}

	.bookings-table tbody tr:last-child td {
		border-bottom: none;
	}

	.bookings-table tbody tr:hover {
		background: #f8f9fa;
	}

/* Flight Route Display */
.route-display {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.route-airport {
	text-align: center;
}

	.route-airport .code {
		font-weight: 700;
		font-size: 1.1rem;
		color: #212529;
		line-height: 1;
	}

	.route-airport .city {
		font-size: 0.75rem;
		color: #6c757d;
	}

.route-line {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 80px;
}

	.route-line .line {
		width: 100%;
		height: 2px;
		background: #dee2e6;
		position: relative;
	}

		.route-line .line::after {
			content: '\f138';
			font-family: 'bootstrap-icons';
			position: absolute;
			right: -2px;
			top: 50%;
			transform: translateY(-50%);
			color: #adb5bd;
			font-size: 0.75rem;
		}

	.route-line .duration {
		font-size: 0.7rem;
		color: #adb5bd;
		margin-top: 0.25rem;
	}

/* Status Badges */
.status-badge {
	padding: 0.4rem 0.875rem;
	border-radius: 50rem;
	font-size: 0.8rem;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.status-confirmed {
	background: #d1f2eb;
	color: #0f5132;
}

.status-pending {
	background: #fef3cd;
	color: #856404;
}

.status-upcoming {
	background: #e0f2fe;
	color: #075985;
}

.status-cancelled {
	background: #f8d7da;
	color: #721c24;
}

.status-completed {
	background: #e9ecef;
	color: #495057;
}

/* Booking Info Cells */
.booking-info {
	display: flex;
	align-items: center;
	gap: 0.875rem;
}

.booking-icon {
	width: 42px;
	height: 42px;
	border-radius: 0.75rem;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
}

	.booking-icon.flight {
		background: #e0f2fe;
		color: #0284c7;
	}

	.booking-icon.hotel {
		background: #fef3cd;
		color: #b45309;
	}

	.booking-icon.tour {
		background: #d1f2eb;
		color: #059669;
	}

.booking-details .name {
	font-weight: 600;
	color: #212529;
	font-size: 0.95rem;
}

.booking-details .ref {
	font-size: 0.8rem;
	color: #adb5bd;
}

/* Price */
.price-tag {
	font-weight: 700;
	font-size: 1.1rem;
	color: #212529;
}

/* Action Buttons */
.btn-action {
	padding: 0.4rem 0.875rem;
	border-radius: 0.5rem;
	font-size: 0.8rem;
	font-weight: 500;
	border: 1px solid #dee2e6;
	background: white;
	color: #495057;
	transition: all 0.2s ease;
}

	.btn-action:hover {
		background: #f8f9fa;
		border-color: #adb5bd;
	}

.btn-action-primary {
	border-color: #0d6efd;
	color: #0d6efd;
}

	.btn-action-primary:hover {
		background: #0d6efd;
		color: white;
	}

.btn-action-danger {
	border-color: #dc3545;
	color: #dc3545;
}

	.btn-action-danger:hover {
		background: #dc3545;
		color: white;
	}

/* Empty State */
.empty-state {
	text-align: center;
	padding: 4rem 2rem;
	background: white;
	border-radius: 1rem;
	border: 2px dashed #dee2e6;
}

.empty-state-icon {
	width: 80px;
	height: 80px;
	background: #f8f9fa;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.5rem;
	font-size: 2rem;
	color: #adb5bd;
}

.empty-state h3 {
	font-size: 1.25rem;
	font-weight: 600;
	color: #495057;
	margin-bottom: 0.5rem;
}

.empty-state p {
	color: #adb5bd;
	margin-bottom: 1.5rem;
	max-width: 400px;
	margin-left: auto;
	margin-right: auto;
}

/* Hotel/Tour Image in Table */
.table-thumb {
	width: 60px;
	height: 60px;
	border-radius: 0.5rem;
	object-fit: cover;
}
/* Hotel/Tour/Fligh Button */

.btn-primary {
	background-color: #dd0000;
	border-color: #dd0000;
	color: #fff;
}

	.btn-primary:hover,
	.btn-primary:focus,
	.btn-primary:active,
	.btn-primary.active {
		background-color: #c40000;
		border-color: #c40000;
		color: #fff;
	}

	.btn-primary:focus {
		box-shadow: 0 0 0 0.25rem rgba(221, 0, 0, 0.25);
	}

/* Responsive */
@media (max-width: 991.98px) {
	.bookings-table {
		border-radius: 0.75rem;
	}

		.bookings-table .d-none-lg {
			display: none;
		}
}

.airline-logo {
	width: 50px;
	height: 50px;
	object-fit: contain;
}
