/* ===== City Grid ===== */
.rbp-city-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 20px;
	margin: 20px 0;
}

.rbp-city-card {
	cursor: pointer;
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	overflow: hidden;
	text-align: center;
	background: #fff;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rbp-city-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.rbp-city-card img {
	width: 100%;
	height: 140px;
	object-fit: cover;
}

.rbp-city-card h3 {
	margin: 12px 0 4px;
	font-size: 18px;
}

.rbp-city-cta {
	display: inline-block;
	margin-bottom: 14px;
	padding: 6px 16px;
	background: #0b3d91;
	color: #fff;
	border-radius: 20px;
	font-size: 13px;
}

/* ===== Modal Overlay ===== */
.rbp-overlay {
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(0,0,0,0.55);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.rbp-modal {
	background: #fff;
	max-width: 560px;
	width: 92%;
	max-height: 88vh;
	overflow-y: auto;
	border-radius: 12px;
	padding: 30px;
	position: relative;
}

.rbp-close {
	position: absolute;
	top: 14px; right: 18px;
	font-size: 26px;
	cursor: pointer;
	color: #888;
}

.rbp-back {
	display: inline-block;
	margin-bottom: 10px;
	cursor: pointer;
	color: #0b3d91;
	font-size: 14px;
}

/* ===== Route Cards inside modal ===== */
.rbp-routes-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 15px;
}

.rbp-route-card {
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 14px 16px;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.rbp-route-card:hover {
	border-color: #0b3d91;
	background: #f7f9ff;
}

.rbp-route-card .rbp-route-name {
	font-weight: 600;
	font-size: 16px;
	margin-bottom: 4px;
}

.rbp-route-card .rbp-route-price {
	color: #0b3d91;
	font-weight: 700;
}

/* ===== Booking Form ===== */
#rbp-booking-form label {
	display: block;
	margin-bottom: 12px;
	font-size: 14px;
	font-weight: 600;
	color: #333;
}

#rbp-booking-form input,
#rbp-booking-form select {
	width: 100%;
	padding: 9px 10px;
	margin-top: 5px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 14px;
	box-sizing: border-box;
}

.rbp-price-box, .rbp-final-price-box {
	background: #f4f6fb;
	padding: 12px 16px;
	border-radius: 8px;
	margin: 14px 0;
	font-size: 15px;
}

.rbp-coupon-input-group {
	display: flex;
	gap: 8px;
}

.rbp-coupon-input-group input {
	flex: 1;
}

.rbp-coupon-input-group button {
	background: #0b3d91;
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 0 16px;
	cursor: pointer;
}

#rbp-coupon-message {
	display: block;
	font-size: 13px;
	margin-top: 5px;
	font-weight: 400;
}

#rbp-submit-booking {
	width: 100%;
	padding: 12px;
	background: #0b3d91;
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	margin-top: 10px;
}

#rbp-submit-booking:hover {
	background: #092f70;
}

#rbp-booking-message {
	margin-top: 10px;
	font-weight: 600;
	font-size: 14px;
}

.rbp-loading {
	color: #888;
	font-style: italic;
}
