/* ============================================================
   verfuegbarkeit-quicksearch.css
   Adress-Schnellsuche im Banner - oeffnet check.zillner.it mit
   vorausgefuellter Adresse in neuem Tab.
   ============================================================ */

.vqs-wrapper {
	position: relative;
	display: inline-flex;
	gap: 8px;
	max-width: 480px;
	width: 100%;
	flex-wrap: wrap;
}

.vqs-input {
	flex: 1 1 240px;
	padding: 16px 18px;
	background-color: rgba(255, 255, 255, 0.95);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 4px;
	font-size: 1.05rem;
	color: #111111;
}

.vqs-input::placeholder {
	color: #666666;
}

.vqs-input:focus {
	outline: none;
	border-color: #1e3a5f;
}

.vqs-submit {
	padding: 16px 28px;
	background-color: rgba(30, 58, 95, 0.95);
	backdrop-filter: blur(4px);
	color: #ffffff;
	border: 2px solid rgba(255, 255, 255, 0.4);
	border-radius: 6px;
	font-weight: 700;
	font-size: 1.05rem;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color 0.2s ease, transform 0.2s ease;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	animation: vqs-pulse 3s ease-in-out infinite;
}

.vqs-submit::before {
	content: '';
	display: inline-block;
	width: 18px;
	height: 18px;
	border: 2.5px solid #ffffff;
	border-radius: 50%;
	position: relative;
	flex-shrink: 0;
}

.vqs-submit::after {
	content: '';
	position: absolute;
	width: 8px;
	height: 2.5px;
	background: #ffffff;
	transform: rotate(45deg);
	margin-left: 13px;
	margin-top: 13px;
}

.vqs-submit:hover {
	background-color: rgba(30, 58, 95, 1);
	transform: scale(1.03);
	animation-play-state: paused;
}

@keyframes vqs-pulse {
	0%, 100% {
		box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
	}
	50% {
		box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.vqs-submit {
		animation: none;
	}
}

.vqs-list {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	margin-top: 4px;
	background-color: #ffffff;
	border: 1px solid #dddddd;
	border-radius: 4px;
	max-height: 260px;
	overflow-y: auto;
	z-index: 1000;
	display: none;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.vqs-list.visible {
	display: block;
}

.vqs-item {
	padding: 10px 14px;
	cursor: pointer;
	font-size: 0.88rem;
	color: #111111;
	border-bottom: 1px solid #eeeeee;
}

.vqs-item:last-child {
	border-bottom: none;
}

.vqs-item:hover,
.vqs-item.active {
	background-color: #f2f2f2;
}

.vqs-item-sub {
	color: #777777;
	font-size: 0.76rem;
	margin-top: 2px;
}

@media (max-width: 480px) {
	.vqs-wrapper {
		flex-direction: column;
	}
	.vqs-submit {
		width: 100%;
	}
}
