/* Taxikaari Booking modal styles. Matches the dark/yellow design in the brief. */

.leadm-tb-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
	align-items: flex-start;
	justify-content: center;
	overflow-y: auto;
	padding: 24px 12px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	color: #ffffff;
}

.leadm-tb-modal.is-open {
	display: flex;
}

.leadm-tb-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.7);
	cursor: pointer;
}

.leadm-tb-dialog {
	position: relative;
	width: 100%;
	max-width: 640px;
	background: #1f1f1f;
	border-radius: 14px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
	padding: 24px;
	box-sizing: border-box;
}

.leadm-tb-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 8px;
}

.leadm-tb-title {
	flex: 1;
	margin: 0;
	font-size: 20px;
	font-weight: 600;
	color: #f7d600;
}

.leadm-tb-lang {
	display: inline-flex;
	border: 1px solid #3a3a3a;
	border-radius: 999px;
	overflow: hidden;
}

.leadm-tb-lang-btn {
	background: transparent;
	color: #cfcfcf;
	border: 0;
	padding: 4px 10px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	cursor: pointer;
}

.leadm-tb-lang-btn.is-active {
	background: #f7d600;
	color: #1a1a1a;
}

.leadm-tb-close {
	background: transparent;
	color: #cfcfcf;
	border: 0;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	padding: 0 4px;
}

.leadm-tb-close:hover { color: #ffffff; }

.leadm-tb-form { display: block; }

.leadm-tb-section {
	margin: 18px 0 10px;
	font-size: 16px;
	font-weight: 600;
	color: #f7d600;
}

.leadm-tb-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-bottom: 10px;
}

.leadm-tb-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 13px;
	color: #e6e6e6;
}

.leadm-tb-field--full { grid-column: 1 / -1; margin-bottom: 10px; }
.leadm-tb-field--spacer { visibility: hidden; }

.leadm-tb-modal[data-mode="quote"] .leadm-tb-row--with-flight {
	grid-template-columns: 1fr;
}

.leadm-tb-field input,
.leadm-tb-field textarea {
	background: #2b2b2b;
	border: 1px solid #3a3a3a;
	border-radius: 8px;
	color: #ffffff;
	padding: 10px 12px;
	font-size: 14px;
	font-family: inherit;
	width: 100%;
	box-sizing: border-box;
}

.leadm-tb-field input::placeholder,
.leadm-tb-field textarea::placeholder { color: #8a8a8a; }

.leadm-tb-field input:focus,
.leadm-tb-field textarea:focus {
	outline: none;
	border-color: #f7d600;
	box-shadow: 0 0 0 2px rgba(247, 214, 0, 0.25);
}

.leadm-tb-field.has-error input,
.leadm-tb-field.has-error textarea {
	border-color: #e25151;
	box-shadow: 0 0 0 2px rgba(226, 81, 81, 0.2);
}

.leadm-tb-stops {
	margin: 10px 0 14px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.leadm-tb-stops-label {
	font-size: 13px;
	color: #e6e6e6;
}

.leadm-tb-stop {
	display: flex;
	align-items: center;
	gap: 10px;
}

.leadm-tb-stop-num {
	width: 18px;
	color: #cfcfcf;
	font-size: 13px;
}

.leadm-tb-stop input {
	flex: 1;
	background: #2b2b2b;
	border: 1px solid #3a3a3a;
	border-radius: 8px;
	color: #ffffff;
	padding: 8px 12px;
	font-size: 14px;
	font-family: inherit;
}

.leadm-tb-stop input:focus {
	outline: none;
	border-color: #f7d600;
	box-shadow: 0 0 0 2px rgba(247, 214, 0, 0.25);
}

.leadm-tb-actions {
	display: flex;
	justify-content: center;
	margin-top: 18px;
}

.leadm-tb-submit {
	background: #f7d600;
	color: #1a1a1a;
	border: 0;
	border-radius: 999px;
	padding: 12px 28px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: transform 0.05s ease, background 0.15s ease;
}

.leadm-tb-submit:hover { background: #ffe21a; }
.leadm-tb-submit:active { transform: translateY(1px); }
.leadm-tb-submit[disabled] { opacity: 0.6; cursor: not-allowed; }

.leadm-tb-status {
	display: none;
	margin: 0 0 14px;
	padding: 10px 12px;
	border-radius: 8px;
	font-size: 14px;
}

.leadm-tb-status.is-success {
	display: block;
	background: rgba(46, 160, 67, 0.15);
	color: #7ee59a;
	border: 1px solid rgba(46, 160, 67, 0.4);
}

.leadm-tb-status.is-error {
	display: block;
	background: rgba(226, 81, 81, 0.15);
	color: #ffb3b3;
	border: 1px solid rgba(226, 81, 81, 0.4);
}

@media (max-width: 560px) {
	.leadm-tb-row { grid-template-columns: 1fr; }
	.leadm-tb-dialog { padding: 18px; }
	.leadm-tb-title { font-size: 18px; }
}
