/**
 * Global Package Booking System Styles (`assets/css/booking.css`)
 * Matches the existing Nighty Club luxury design tokens, cards, and `.np-form-card` layout.
 */

/* 1. Category Filter Pills */
.nighty-pkg-category-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 0 auto 38px;
}

.nighty-pkg-category-pill {
	display: inline-flex;
	align-items: center;
	padding: 10px 18px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.14);
	color: #e6e4f0;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.25s ease;
}

[data-nighty-theme="light"] .nighty-pkg-category-pill {
	background: #ffffff;
	border-color: rgba(15, 13, 25, 0.14);
	color: #1c192b;
}

.nighty-pkg-category-pill:hover,
.nighty-pkg-category-pill.is-active {
	background: linear-gradient(135deg, #FF494F 0%, #c82229 100%);
	border-color: #FF494F;
	color: #ffffff;
	box-shadow: 0 8px 22px rgba(255, 73, 79, 0.35);
	transform: translateY(-1px);
}

/* 2. Focused Package Cards Grid */
.nighty-pkg-cards-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
	gap: 28px;
	margin-bottom: 52px;
}

.nighty-pkg-cards-grid--single {
	max-width: 860px;
	margin-left: auto;
	margin-right: auto;
}

.nighty-pkg-card {
	background: #141220;
	border: 1px solid rgba(255, 255, 255, 0.11);
	border-radius: 18px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
	position: relative;
}

[data-nighty-theme="light"] .nighty-pkg-card {
	background: #ffffff;
	border-color: rgba(20, 18, 32, 0.12);
	box-shadow: 0 12px 32px rgba(15, 13, 25, 0.06);
}

.nighty-pkg-card:hover,
.nighty-pkg-card.is-selected-package {
	transform: translateY(-4px);
	border-color: #FF494F;
	box-shadow: 0 16px 38px rgba(255, 73, 79, 0.22);
}

.nighty-pkg-card__media {
	position: relative;
	height: 230px;
	overflow: hidden;
	background: #0b0a12;
}

.nighty-pkg-card__media img,
.nighty-pkg-card__media video,
.nighty-pkg-card__media iframe,
.nighty-pkg-card__media .nighty-media-embed-wrap {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.45s ease;
}

.nighty-pkg-card:hover .nighty-pkg-card__media img {
	transform: scale(1.05);
}

.nighty-pkg-card__badge {
	position: absolute;
	top: 14px;
	left: 14px;
	background: linear-gradient(135deg, #FF494F 0%, #b51d23 100%);
	color: #ffffff;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.6px;
	padding: 6px 12px;
	border-radius: 999px;
	z-index: 2;
	text-transform: uppercase;
}

.nighty-pkg-card__club-pill {
	position: absolute;
	bottom: 12px;
	left: 14px;
	background: rgba(11, 10, 18, 0.86);
	backdrop-filter: blur(6px);
	color: #F1FF4F;
	font-size: 12px;
	font-weight: 700;
	padding: 5px 12px;
	border-radius: 8px;
	border: 1px solid rgba(241, 255, 79, 0.35);
	z-index: 2;
}

.nighty-pkg-card__body {
	padding: 24px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.nighty-pkg-card__club-header {
	margin-bottom: 12px;
	position: relative;
}

.nighty-pkg-card__category {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: 1.15px;
	text-transform: uppercase;
	color: #F1FF4F;
	background: linear-gradient(135deg, rgba(255, 73, 79, 0.22) 0%, rgba(241, 255, 79, 0.12) 100%);
	border: 1px solid rgba(241, 255, 79, 0.42);
	padding: 4px 11px;
	border-radius: 999px;
	margin-bottom: 9px;
	box-shadow: 0 2px 12px rgba(255, 73, 79, 0.22);
}

[data-nighty-theme="light"] .nighty-pkg-card__category {
	color: #b51d23;
	background: rgba(255, 73, 79, 0.1);
	border-color: rgba(255, 73, 79, 0.35);
}

h3.nighty-pkg-card__title,
.nighty-pkg-card__title {
	font-family: "Playfair Display", "Plus Jakarta Sans", Georgia, serif !important;
	font-size: 21px;
	font-weight: 700 !important;
	line-height: 1.28;
	letter-spacing: 0.25px;
	margin: 0;
	color: #fff6d6;
	text-shadow: 0 2px 14px rgba(255, 73, 79, 0.32);
}

.nighty-pkg-card__title-text {
	background: linear-gradient(135deg, #ffffff 0%, #fff3b8 42%, #ffd166 75%, #ff6b8b 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	display: inline;
}

.nighty-pkg-card__title-glow-bar {
	display: block;
	width: 68px;
	height: 3px;
	margin-top: 9px;
	border-radius: 999px;
	background: linear-gradient(90deg, #F1FF4F 0%, #FF494F 65%, rgba(255, 73, 79, 0) 100%);
	box-shadow: 0 0 10px rgba(241, 255, 79, 0.45);
}

[data-nighty-theme="light"] h3.nighty-pkg-card__title,
[data-nighty-theme="light"] .nighty-pkg-card__title {
	color: #141220;
	text-shadow: none;
}

[data-nighty-theme="light"] .nighty-pkg-card__title-text {
	background: linear-gradient(135deg, #141220 0%, #8c141b 60%, #d9262e 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.nighty-pkg-card__desc {
	font-size: 14px;
	line-height: 1.55;
	color: #b7b4c7;
	margin: 0 0 16px;
}

[data-nighty-theme="light"] .nighty-pkg-card__desc {
	color: #4b485e;
}

/* Included Drinks Box inside Package Card */
.nighty-pkg-card__drinks {
	background: rgba(241, 255, 79, 0.08);
	border: 1px solid rgba(241, 255, 79, 0.28);
	border-radius: 10px;
	padding: 11px 14px;
	margin-bottom: 14px;
}

[data-nighty-theme="light"] .nighty-pkg-card__drinks {
	background: #fff9ec;
	border-color: #f3d078;
}

.nighty-pkg-card__drinks-heading {
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.7px;
	color: #F1FF4F;
	margin-bottom: 4px;
}

[data-nighty-theme="light"] .nighty-pkg-card__drinks-heading {
	color: #9e5800;
}

.nighty-pkg-card__drinks-list {
	margin: 0;
	padding-left: 18px;
	font-size: 13.5px;
	font-weight: 700;
	color: #ffffff;
}

[data-nighty-theme="light"] .nighty-pkg-card__drinks-list {
	color: #1c192b;
}

.nighty-pkg-card__services {
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
	font-size: 13px;
	line-height: 1.5;
	color: #d3d0e0;
}

[data-nighty-theme="light"] .nighty-pkg-card__services {
	color: #36334a;
}

.nighty-pkg-card__services li {
	margin-bottom: 6px;
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.nighty-pkg-card__check {
	color: #25D366;
	font-weight: 900;
	flex-shrink: 0;
}

.nighty-pkg-card__price-row {
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid rgba(255, 255, 255, 0.09);
	margin-bottom: 14px;
}

[data-nighty-theme="light"] .nighty-pkg-card__price-row {
	border-top-color: rgba(20, 18, 32, 0.1);
}

.nighty-pkg-card__price-wrap {
	display: flex;
	align-items: baseline;
	gap: 8px;
}

.nighty-pkg-card__price-old {
	font-size: 15px;
	color: #8f8ba3;
}

.nighty-pkg-card__price-current {
	font-size: 28px;
	font-weight: 800;
	color: #F1FF4F;
}

[data-nighty-theme="light"] .nighty-pkg-card__price-current {
	color: #d9262e;
}

.nighty-pkg-card__price-unit {
	font-size: 13px;
	color: #a9a6b8;
	font-weight: 600;
}

.nighty-pkg-book-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 42px;
	padding: 0 18px;
	border-radius: 8px;
	background: linear-gradient(135deg, #FF494F 0%, #c82229 100%);
	color: #ffffff !important;
	font-weight: 700;
	font-size: 13.5px;
	text-decoration: none;
	transition: all 0.25s ease;
	box-shadow: 0 6px 16px rgba(255, 73, 79, 0.28);
}

.nighty-pkg-book-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 22px rgba(255, 73, 79, 0.42);
}

/* 3. Global Booking Form Card & Selected Package Summary Panel */
.nighty-global-booking-wrap {
	max-width: 920px;
	margin: 0 auto;
	scroll-margin-top: 100px;
	animation: nightyBookingReveal 0.35s ease;
}

.nighty-global-booking-wrap.is-hidden-until-selected {
	display: none !important;
}

@keyframes nightyBookingReveal {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.nighty-booking-form-card {
	padding: 34px;
	border-radius: 20px;
}

.nighty-booking-form-header {
	margin-bottom: 22px;
}

.nighty-booking-form-title {
	font-size: 26px;
	font-weight: 800;
	margin: 0 0 8px;
}

.nighty-booking-form-subtitle {
	font-size: 14.5px;
	color: #b7b4c7;
	margin: 0;
}

[data-nighty-theme="light"] .nighty-booking-form-subtitle {
	color: #4b485e;
}

.nighty-selected-pkg-panel {
	background: rgba(255, 73, 79, 0.08);
	border: 1px solid rgba(255, 73, 79, 0.35);
	border-radius: 14px;
	padding: 20px 22px;
	margin-bottom: 26px;
}

[data-nighty-theme="light"] .nighty-selected-pkg-panel {
	background: #fff5f5;
	border-color: rgba(255, 73, 79, 0.35);
}

.nighty-selected-pkg-panel__top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 10px;
}

.nighty-selected-pkg-panel__club {
	display: inline-block;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 1.2px;
	color: #FF494F;
	margin-bottom: 4px;
}

h3.nighty-selected-pkg-panel__name,
.nighty-selected-pkg-panel__name {
	margin: 0;
	font-family: "Playfair Display", "Plus Jakarta Sans", Georgia, serif !important;
	font-size: 21px;
	font-weight: 700 !important;
	line-height: 1.28;
	letter-spacing: 0.2px;
	background: linear-gradient(135deg, #ffffff 0%, #fff3b8 42%, #ffd166 75%, #ff6b8b 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.nighty-selected-pkg-panel__price-box {
	text-align: right;
	background: rgba(15, 13, 25, 0.55);
	padding: 8px 14px;
	border-radius: 10px;
	border: 1px solid rgba(241, 255, 79, 0.35);
}

[data-nighty-theme="light"] .nighty-selected-pkg-panel__price-box {
	background: #141220;
	color: #ffffff;
}

.nighty-selected-pkg-panel__price-val {
	display: block;
	font-size: 22px;
	font-weight: 800;
	color: #F1FF4F;
	line-height: 1.1;
}

.nighty-selected-pkg-panel__price-lbl {
	font-size: 11px;
	color: #d3d0e0;
}

.nighty-selected-pkg-panel__desc {
	font-size: 13.5px;
	margin: 0 0 14px;
	opacity: 0.9;
}

.nighty-selected-pkg-panel__meta {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 14px;
	padding-top: 12px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

[data-nighty-theme="light"] .nighty-selected-pkg-panel__meta {
	border-top-color: rgba(20, 18, 32, 0.12);
}

.nighty-selected-pkg-panel__meta-title {
	display: block;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	margin-bottom: 6px;
	color: #F1FF4F;
}

[data-nighty-theme="light"] .nighty-selected-pkg-panel__meta-title {
	color: #b51d23;
}

.nighty-selected-pkg-panel__list {
	margin: 0;
	padding-left: 18px;
	font-size: 13px;
	line-height: 1.5;
}

/* 4. Number of Persons Stepper & Live Total Calculation Box */
.nighty-persons-stepper {
	display: flex;
	align-items: center;
	gap: 8px;
}

.nighty-persons-stepper__btn {
	width: 44px;
	height: 46px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(255, 255, 255, 0.06);
	color: #ffffff;
	font-size: 20px;
	font-weight: 800;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: all 0.2s ease;
}

[data-nighty-theme="light"] .nighty-persons-stepper__btn {
	background: #f3f2f8;
	border-color: rgba(20, 18, 32, 0.18);
	color: #141220;
}

.nighty-persons-stepper__btn:hover {
	background: #FF494F;
	border-color: #FF494F;
	color: #ffffff;
}

.nighty-persons-stepper input[type="number"] {
	text-align: center;
	font-weight: 800;
	font-size: 16px;
	flex: 1;
	min-width: 0;
}

.nighty-live-calc-box {
	background: #100e1a;
	border: 1px solid rgba(241, 255, 79, 0.4);
	border-radius: 12px;
	padding: 10px 16px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

[data-nighty-theme="light"] .nighty-live-calc-box {
	background: #141220;
	color: #ffffff;
}

.nighty-live-calc-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 13px;
	color: #c7c4d6;
}

.nighty-live-calc-row--total {
	padding-top: 6px;
	border-top: 1px dashed rgba(255, 255, 255, 0.16);
	font-size: 14px;
	color: #ffffff;
}

.nighty-live-calc-unit {
	font-weight: 700;
	color: #ffffff;
}

.nighty-live-calc-total {
	font-size: 22px;
	font-weight: 800;
	color: #F1FF4F;
}

.nighty-booking-submit-row {
	margin-top: 22px;
}

/* 5. Alerts & Receipt */
.nighty-booking-feedback {
	margin-bottom: 22px;
}

.nighty-booking-alert {
	border-radius: 12px;
	padding: 18px 20px;
	font-size: 14px;
	line-height: 1.55;
}

.nighty-booking-alert--error {
	background: rgba(255, 73, 79, 0.14);
	border: 1px solid #FF494F;
	color: #ffd7d9;
}

[data-nighty-theme="light"] .nighty-booking-alert--error {
	background: #fff0f1;
	color: #9e191f;
}

.nighty-booking-alert--success {
	background: rgba(37, 211, 102, 0.12);
	border: 1px solid #25D366;
	color: #e9fff1;
}

[data-nighty-theme="light"] .nighty-booking-alert--success {
	background: #eefdf4;
	color: #0f5132;
}

.nighty-booking-alert--success h4 {
	margin: 0 0 6px;
	font-size: 19px;
	font-weight: 800;
}

.nighty-booking-receipt-list {
	margin: 12px 0 0;
	padding-left: 18px;
}

.nighty-booking-receipt-list li {
	margin-bottom: 4px;
}

.nighty-receipt-total {
	font-size: 17px;
	font-weight: 800;
	color: #F1FF4F;
}

[data-nighty-theme="light"] .nighty-receipt-total {
	color: #0f5132;
}

/* 6. Responsive Adjustments (Tablet & Mobile — Zero Horizontal Overflow) */
@media (max-width: 768px) {
	.nighty-booking-form-card {
		padding: 20px 16px;
	}
	.nighty-pkg-cards-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.nighty-selected-pkg-panel {
		padding: 16px;
	}
	.nighty-selected-pkg-panel__top {
		flex-direction: column;
		align-items: flex-start;
	}
	.nighty-selected-pkg-panel__price-box {
		text-align: left;
		width: 100%;
	}
}
