/* Block container */
.utfalld-sok-block {
	max-width: 768px;
	margin: 100px auto 0;
}

/* Header */
@media screen and (min-width: 768px) {
	.utfalld-sok-header {
		max-width: 568px;
		margin: 0 auto;
		text-align: center;
	}
}

/* Category filter */
.utfalld-sok-kategorier {
	margin-bottom: 20px;
}
@media screen and (min-width: 1026px) {
	.utfalld-sok-kategorier {
		text-align: center;
	}
}

@media screen and (max-width: 1025px) {
	.utfalld-sok-kategorier {
		row-gap: 18px;
		column-gap: 32px;
	}
}

.utfalld-sok-kategorier-label {
	margin-bottom: 12px;
	font-weight: 600;
}

.utfalld-sok-kategorier-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
@media screen and (min-width: 1026px) {
	.utfalld-sok-kategorier-buttons {
		justify-content: center;
	}
}
@media screen and (max-width: 1025px) {
	.utfalld-sok-kategorier-buttons {
		column-gap: 32px;
		row-gap: 18px;
	}
}

/* Search input wrapper */
.utfalld-sok-input-wrapper {
	position: relative;
	max-width: 500px;
	margin: 30px auto;
}

/* Search input */
.utfalld-sok-input {
	width: 100%;
	padding: 12px 45px 12px 16px;
	font-size: 16px;
	border: 1px solid #366db3 !important;
	border-radius: 4px !important;
	outline: none;
	font-family: inherit;
	box-sizing: border-box;
	background-color: transparent !important;
}

.utfalld-sok-input:focus {
	border-color: #366db3 !important;
}

.utfalld-sok-input::placeholder {
	color: #000 !important;
}

/* Search icon */
.utfalld-sok-icon {
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	width: 16px;
	height: 16px;
	pointer-events: none;
}

/* Search highlight */
.utfalld-sok-highlight {
	background-color: #fcd34d;
	color: inherit;
	padding: 0;
}

/* No results message */
.utfalld-sok-no-results {
	display: none;
	text-align: center;
	padding: 40px 20px;
	font-size: 20px;
	color: #000;
}

.utfalld-sok-no-results p {
	margin: 0 0 20px;
}

.utfalld-sok-no-results a {
	display: inline-block;
	margin: 0 10px;
	color: var(--blue-primary);
	text-decoration: underline;
	font-size: 16px;
	text-underline-offset: 5px;
}

/* Disable transition when searching */
.utfalld-sok-block.is-searching .utfalld-content {
	transition: none;
}
