/* Jet Charter Booking - front-end styles
   Vertical request-card layout: From / To / Date / Time / Passengers, then a
   single Request button that opens a Contact Details -> Confirmation modal.
   Strictly monochrome (black / white / grey) throughout. */

:root {
	--jcb-ink: #111112;
	--jcb-muted: #8a8a8e;
	--jcb-muted-light: #b7b7bb;
	--jcb-border: #e7e7ea;
	--jcb-bar-bg: #ffffff;
	--jcb-box-bg: #f4f4f6;
	--jcb-black: #111112;
	--jcb-radius: 14px;
	--jcb-radius-sm: 10px;
	--jcb-shadow: 0 20px 45px rgba(20, 20, 25, 0.16);
	--jcb-error: #111112;
	--jcb-success: #111112;
	--jcb-transition: all 0.18s ease;
	--jcb-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--jcb-bg-image: none;
}

.jcb-wrap {
	font-family: var(--jcb-font);
	width: 100%;
	max-width: 640px;
	margin: 0 auto;
	box-sizing: border-box;
	padding: 0 20px;
	position: relative;
}

.jcb-wrap *,
.jcb-wrap *::before,
.jcb-wrap *::after {
	box-sizing: border-box;
}

.jcb-wrap input,
.jcb-wrap select,
.jcb-wrap button,
.jcb-wrap textarea {
	margin: 0;
	line-height: normal;
	box-shadow: none;
	font-family: inherit;
	max-width: none;
}

.jcb-wrap ul,
.jcb-wrap ol {
	list-style: none;
	margin: 0;
	padding: 0;
}

.jcb-wrap button {
	text-align: inherit;
}

/* ------------------------------------------------------------------ *
 * Card + notices
 * ------------------------------------------------------------------ */

.jcb-card {
	position: relative;
	z-index: 1;
	color: #fff;
	background: rgba(17, 17, 18, 0.55);
	border-radius: 18px;
	box-shadow: var(--jcb-shadow);
	padding: 40px 34px;
	overflow: hidden;
}

.jcb-card .jcb-form-title,
.jcb-form-title {
	text-align: center;
	font-family: var(--jcb-font) !important;
	font-size: clamp(17px, 5.2vw, 24px) !important;
	font-weight: 800 !important;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: #fff !important;
	margin: 0 0 28px;
	line-height: 1.3;
	overflow-wrap: break-word;
	word-break: break-word;
	hyphens: auto;
}

.jcb-notice {
	font-size: 13px;
	padding: 12px 16px;
	border-radius: var(--jcb-radius-sm);
	margin-bottom: 16px;
	background: #1c1c1f;
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: #fff;
}

.jcb-alert {
	font-size: 14px;
	padding: 12px 16px;
	border-radius: var(--jcb-radius-sm);
	margin-bottom: 14px;
	background: #1c1c1f;
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: #fff;
}

.jcb-alert--success {
	border-color: #fff;
}

.jcb-alert--error {
	border-color: rgba(255, 255, 255, 0.5);
	font-weight: 700;
}

/* ------------------------------------------------------------------ *
 * Request form: From / To / Date / Time / Passengers grid
 * ------------------------------------------------------------------ */

.jcb-form {
	display: flex;
	flex-direction: column;
}

.jcb-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px 16px;
	margin-bottom: 22px;
}

.jcb-field {
	position: relative;
}

.jcb-field--full {
	grid-column: 1 / -1;
}

.jcb-field label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.7);
	margin-bottom: 8px;
}

.jcb-field__box {
	background: #fff;
	border-radius: var(--jcb-radius-sm);
	border: 1px solid transparent;
	padding: 2px 14px;
	transition: var(--jcb-transition);
}

.jcb-field__box:focus-within {
	border-color: #fff;
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.jcb-field__input {
	width: 100%;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
	background: transparent !important;
	background-image: none !important;
	border-radius: 0 !important;
	font-size: 15px;
	font-family: var(--jcb-font);
	color: var(--jcb-ink);
	padding: 13px 0 !important;
	margin: 0 !important;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	cursor: pointer;
}

.jcb-field__input::placeholder {
	color: var(--jcb-muted-light);
	font-weight: 400;
}

.jcb-field__input:focus {
	outline: none;
}

select.jcb-field__input {
	cursor: pointer;
	line-height: 1.4 !important;
	min-height: 1.4em;
	padding-top: 13px !important;
	padding-bottom: 13px !important;
	padding-right: 26px !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23111112' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right center !important;
	background-size: 14px !important;
}

.jcb-book {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 17px;
	background: #fff !important;
	color: #111 !important;
	border: none !important;
	border-radius: var(--jcb-radius-sm);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	cursor: pointer;
	transition: var(--jcb-transition);
}

.jcb-book:hover {
	background: #e6e6e6 !important;
}

.jcb-book:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.jcb-spinner {
	display: none;
	width: 15px;
	height: 15px;
	border: 2px solid rgba(0, 0, 0, 0.25);
	border-top-color: #111;
	border-radius: 50%;
	animation: jcb-spin 0.7s linear infinite;
}

.jcb-book.is-loading .jcb-spinner {
	display: inline-block;
}

.jcb-book.is-loading .jcb-book__label {
	opacity: 0.75;
}

@keyframes jcb-spin {
	to {
		transform: rotate(360deg);
	}
}

.jcb-error {
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: #fff;
	margin-top: 6px;
}

.jcb-input--invalid {
	box-shadow: inset 0 0 0 2px #fff !important;
}

/* Location suggestions dropdown */
.jcb-suggestions {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	z-index: 40;
	background: #fff;
	color: var(--jcb-ink);
	border-radius: var(--jcb-radius-sm);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
	max-height: 280px;
	overflow-y: auto;
	font-size: 14px;
}

.jcb-suggestions__item {
	padding: 11px 16px;
	cursor: pointer;
	border-bottom: 1px solid var(--jcb-border);
	line-height: 1.4;
}

.jcb-suggestions__item:last-child {
	border-bottom: none;
}

.jcb-suggestions__item:hover,
.jcb-suggestions__item.is-active {
	background: var(--jcb-box-bg);
}

.jcb-suggestions__empty,
.jcb-suggestions__loading {
	padding: 11px 16px;
	color: var(--jcb-muted);
	font-style: italic;
}

/* Responsive */
@media (max-width: 560px) {
	.jcb-card {
		padding: 32px 22px;
	}

	.jcb-grid {
		grid-template-columns: 1fr;
	}

	.jcb-field--full {
		grid-column: auto;
	}
}

/* ==================================================================
   Booking Modal (Contact Details -> Confirmation)
   ================================================================== */

.jcb-modal-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: rgba(8, 8, 9, 0.75);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.jcb-modal-overlay[hidden] {
	display: none;
}

.jcb-modal {
	position: relative;
	width: 100%;
	max-width: 560px;
	max-height: 90vh;
	overflow-y: auto;
	background: #0e0e10;
	background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 200px);
	border-radius: 18px;
	padding: 46px 40px 40px;
	color: #f2f2f3;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.jcb-modal-close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 34px;
	height: 34px;
	border-radius: 8px;
	border: none !important;
	background: #fff !important;
	color: #111 !important;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.jcb-modal-close:hover {
	background: #eee !important;
}

.jcb-modal-heading {
	font-family: var(--jcb-font) !important;
	font-size: clamp(19px, 5.5vw, 28px) !important;
	font-weight: 800 !important;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	text-align: center;
	color: #fff !important;
	margin: 0 0 26px;
	line-height: 1.25;
	overflow-wrap: break-word;
	word-break: break-word;
	hyphens: auto;
}

.jcb-modal-screen {
	display: none;
}

.jcb-modal-screen.is-active {
	display: block;
}

/* ---- Contact Details screen ---- */

.jcb-modal-alert {
	background: #1c1c1f;
	border: 1px solid #fff;
	color: #fff;
	font-weight: 700;
	font-size: 13.5px;
	padding: 12px 16px;
	border-radius: 10px;
	margin-bottom: 20px;
}

.jcb-modal-field {
	margin-bottom: 20px;
}

.jcb-modal-field label {
	display: block;
	font-size: 13.5px;
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: 8px;
}

.jcb-modal-field .jcb-required {
	color: #fff;
}

.jcb-modal-input {
	width: 100%;
	background: transparent;
	border: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.25);
	color: #fff;
	font-size: 15px;
	padding: 8px 0;
	outline: none;
	font-family: inherit;
}

.jcb-modal-input::placeholder {
	color: rgba(255, 255, 255, 0.4);
}

.jcb-modal-input:focus {
	border-bottom-color: #fff;
}

.jcb-modal-textarea {
	resize: vertical;
	min-height: 60px;
	line-height: 1.5;
}

.jcb-modal-field--invalid .jcb-modal-input {
	border-bottom-color: #fff;
	border-bottom-width: 2px;
}

.jcb-modal-error {
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: #fff;
	margin-top: 6px;
	min-height: 14px;
}

.jcb-info-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	font-size: 10px;
	font-style: normal;
	margin-left: 4px;
	cursor: help;
}

/* ---- Modal action button ---- */

.jcb-modal-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 16px;
	background: #fff !important;
	color: #111 !important;
	border: 1.5px solid #fff !important;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	cursor: pointer;
	transition: var(--jcb-transition);
	margin-bottom: 10px;
}

.jcb-modal-btn:hover {
	background: #e6e6e6 !important;
}

.jcb-modal-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.jcb-modal-btn .jcb-spinner {
	border-color: rgba(0, 0, 0, 0.25);
	border-top-color: #111;
	display: none;
}

.jcb-modal-btn.is-loading .jcb-spinner {
	display: inline-block;
}

.jcb-modal-btn.is-loading .jcb-modal-btn__label {
	opacity: 0.75;
}

/* ---- Confirmation screen ---- */

.jcb-confirmation {
	text-align: center;
	padding: 10px 0 4px;
}

.jcb-confirmation__icon {
	width: 74px;
	height: 74px;
	border-radius: 50%;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 22px;
}

.jcb-confirmation__icon svg {
	width: 34px;
	height: 34px;
	stroke: #111;
	stroke-width: 3;
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.jcb-confirmation__message {
	font-size: 14.5px;
	color: rgba(255, 255, 255, 0.85);
	line-height: 1.6;
	max-width: 460px;
	margin: 0 auto 26px;
}

.jcb-confirmation__summary {
	background: #1c1c1f;
	border-radius: 12px;
	padding: 18px 22px;
	text-align: left;
	margin-bottom: 26px;
}

.jcb-confirmation__summary-row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 7px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 13.5px;
}

.jcb-confirmation__summary-row:last-child {
	border-bottom: none;
}

.jcb-confirmation__summary-label {
	color: rgba(255, 255, 255, 0.55);
}

.jcb-confirmation__summary-value {
	color: #fff;
	font-weight: 600;
	text-align: right;
}

/* Responsive */
@media (max-width: 640px) {
	.jcb-modal {
		padding: 40px 20px 28px;
		border-radius: 14px;
	}
}
