/* ── Search box ── */

#boxSearch {
	margin-top: 24px;
}
#boxSearch .boxtitle .boxlabel h1 {
	padding: 0;
	margin: 0;
	font-size: 20px;
	font-weight: 600;
}

.boxwrap {
	border: 1px #e1e1e1 solid;
	border-radius: 12px;
	padding: 14px;
	background: #ffffff;
	margin: 0 0 24px 0;
}

form.searchstylepage input[type=text] {
	padding: 0 14px;
	height: 42px;
	font-size: 1.1em;
	border: 1px solid #d0d0d0;
	border-radius: 10px 0 0 10px;
	float: left;
	width: 80%;
	background: #f8f9fb;
	font-family: inherit;
	color: #444;
}
form.searchstylepage input[type=text]:focus {
	background: #fff;
	border-color: #349dda;
	outline: none;
}

form.searchstylepage button {
	width: 20%;
	padding: 0 10px;
	height: 42px;
	color: white;
	font-size: 1.1em;
	border: 1px solid #349dda;
	border-left: none;
	cursor: pointer;
	border-radius: 0 10px 10px 0;
	background: #349dda;
	transition: background 0.2s;
}
form.searchstylepage button:hover {
	background: #2282b8;
}

#box_search_content {
	display: flex;
	gap: 16px;
	align-items: center;
}
#box_search_form {
	width: 100%;
	max-width: 480px;
}
#box_search_info {
	color: #888;
	font-size: 0.9em;
	line-height: 1.5;
}

/* ── Search sections ── */

.search-section {
	border-radius: 14px;
	padding: 20px 24px 24px;
	margin: 0 0 20px 0;
}

.search-section--airports {
	background: #eef6fc;
	border: 1px solid #c6e2f5;
}
.search-section--airports .search-section__header i {
	color: #349dda;
}
.search-section--airports .search-tag {
	background: #fff;
	border-color: #b5d9f0;
	color: #1e6e9e;
}
.search-section--airports .search-tag:hover {
	background: #349dda;
	border-color: #349dda;
	color: #fff;
}

.search-section--countries {
	background: #fffbee;
	border: 1px solid #ffe89a;
}
.search-section--countries .search-section__header i {
	color: #c48a00;
}
.search-section--countries .search-tag {
	background: #fff;
	border-color: #f5d96b;
	color: #7a5500;
}
.search-section--countries .search-tag:hover {
	background: #ffcf31;
	border-color: #ffcf31;
	color: #5a3d00;
}

.search-section--cities {
	background: #fdf2f2;
	border: 1px solid #f0c8c8;
}
.search-section--cities .search-section__header i {
	color: #B22222;
}
.search-section--cities .search-tag {
	background: #fff;
	border-color: #e8b4b4;
	color: #8b1a1a;
}
.search-section--cities .search-tag:hover {
	background: #B22222;
	border-color: #B22222;
	color: #fff;
}

.search-section__header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 16px 0;
}
.search-section__header i {
	font-size: 1.2em;
}
.search-section__header h2 {
	margin: 0;
	padding: 0;
	font-size: 1.1em;
	font-weight: 700;
	letter-spacing: 0.3px;
	color: #333;
}

.search-section__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-start;
}

.search-tag {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 8px;
	border: 1px solid;
	font-size: 0.88em;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.18s, color 0.18s, border-color 0.18s;
	white-space: nowrap;
	line-height: 1.4;
}


/* ── Mobile ── */

@media only screen and (max-width: 640px) {

	#box_search_content {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	#box_search_form {
		width: 100%;
	}

	form.searchstylepage input[type=text] {
		width: 75%;
	}
	form.searchstylepage button {
		width: 25%;
	}

	.search-section {
		padding: 16px;
	}

	.search-tag {
		font-size: 0.85em;
		padding: 5px 11px;
	}
}
