/* YB Aracım (my car): header button and the car picker window. Colours / sizes come from Elementor controls; these are fallbacks. */

.ybsb-myveh-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	max-width: 100%;
	min-height: 44px;
	margin: 0;
	padding: 8px 14px;
	border: 1px solid #d0d5dd;
	border-radius: 12px;
	background-color: #ffffff;
	color: #111111;
	font: inherit;
	font-weight: 600;
	line-height: 1.2;
	text-align: left;
	cursor: pointer;
}

.ybsb-myveh-btn .ybsb-favs-icon {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
}

.ybsb-myveh.is-set .ybsb-myveh-btn .ybsb-favs-icon {
	color: #067647;
}

.ybsb-myveh-label {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ybsb-myveh-btn:focus-visible,
.ybsb-myveh-action:focus-visible,
.ybsb-myveh-field select:focus-visible {
	outline: 2px solid #111111;
	outline-offset: 2px;
}

.ybsb-myveh-dialog {
	width: min(92vw, 440px);
	max-height: 92vh;
	padding: 20px;
	border: 0;
	border-radius: 16px;
	background-color: #ffffff;
	color: #111111;
}

.ybsb-myveh-dialog::backdrop {
	background: rgba(16, 24, 40, 0.6);
}

.ybsb-myveh-title {
	margin: 0 0 1rem;
	font-size: 1.25rem;
	line-height: 1.3;
}

.ybsb-myveh-field {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	margin: 0 0 0.875rem;
	font-weight: 600;
}

.ybsb-myveh-field select {
	box-sizing: border-box;
	width: 100%;
	min-height: 44px;
	padding: 8px 12px;
	border: 1px solid #98a2b3;
	border-radius: 8px;
	background-color: #ffffff;
	color: #111111;
	font: inherit;
	font-size: 1rem;
	font-weight: 400;
}

.ybsb-myveh-field select:disabled {
	background-color: #f2f4f7;
	color: #667085;
}

.ybsb-myveh-hint {
	margin: 0 0 1rem;
	color: #475467;
	font-size: 0.875rem;
	line-height: 1.4;
}

.ybsb-myveh-error {
	margin: 0 0 1rem;
	color: #b42318;
	font-weight: 600;
}

.ybsb-myveh-error[hidden],
.ybsb-myveh-action[hidden] {
	display: none;
}

.ybsb-myveh-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.ybsb-myveh-action {
	flex: 1 1 auto;
	min-height: 44px;
	padding: 10px 16px;
	border: 1px solid #d0d5dd;
	border-radius: 999px;
	background-color: #ffffff;
	color: #111111;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.ybsb-myveh-action.ybsb-myveh-save {
	flex-basis: 100%;
	border-color: transparent;
	background-color: #111111;
	color: #ffffff;
}

.ybsb-myveh-action:disabled {
	cursor: not-allowed;
	opacity: 0.55;
}

