/*ESTILO DE FIBOSEARCH*/
/* Independent FiboSearch styling for the Allping header. */

/* Shared visual treatment for both header versions. */
.engineering-header .dgwt-wcas-search-form {
	height: 33px !important;
	border: none !important;
	border-radius: 6px !important;
	background: #ffffff !important;
	overflow: hidden !important;
	box-shadow: none !important;
}

.engineering-header .dgwt-wcas-sf-wrapp {
	border: none !important;
	background: transparent !important;
}

.engineering-header .dgwt-wcas-search-input {
	width: 100% !important;
	height: 33px !important;
	box-sizing: border-box !important;
	padding: 0 58px 0 12px !important;
	border: none !important;
	outline: none !important;
	border-radius: 6px !important;
	background: #ffffff !important;
	color: #075985 !important;
	font-family: Inter, sans-serif !important;
	font-size: 13px !important;
}

.engineering-header .dgwt-wcas-search-input::placeholder {
	color: rgba(7, 89, 133, 0.55) !important;
	opacity: 1 !important;
}

.engineering-header .dgwt-wcas-search-submit {
	position: absolute !important;
	top: 0 !important;
	right: 0 !important;
	width: 46px !important;
	height: 33px !important;
	border: none !important;
	outline: none !important;
	border-radius: 0 !important;
	background: #ffffff !important;
	color: #075985 !important;
}

.engineering-header .dgwt-wcas-search-submit:hover,
.engineering-header .dgwt-wcas-search-submit:focus-visible {
	background: #ffffff !important;
	color: #075985 !important;
}

.engineering-header .dgwt-wcas-search-submit::before {
	display: none !important;
}

.engineering-header .dgwt-wcas-search-submit .dgwt-wcas-ico-magnifier {
	display: block !important;
	width: 19px !important;
	height: 19px !important;
	fill: #22D3EE !important;
	color: #22D3EE !important;
}

.engineering-header .dgwt-wcas-search-submit .dgwt-wcas-ico-magnifier path {
	fill: #22D3EE !important;
	stroke: #22D3EE !important;
	stroke-width: 1.25px !important;
	stroke-linejoin: round !important;
	paint-order: stroke fill !important;
}

.engineering-header .dgwt-wcas-search-form:focus-within {
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
}

/* Desktop header search instance. */
@media (min-width: 1025px) {
	.engineering-header .wp-block-kadence-header-desktop .dgwt-wcas-search-wrapp {
		width: min(400px, 100%) !important;
		max-width: 100% !important;
		min-width: 0 !important;
		flex: 0 1 400px !important;
		box-sizing: border-box !important;
		height: 30px !important;
		margin: 2px 0 !important;
	}
}

/* Mobile header search instance. Keep the compact mobile width. */
@media (max-width: 1024px) {
.engineering-header .wp-block-kadence-header-tablet .dgwt-wcas-search-wrapp,
.engineering-header .wp-block-kadence-header-tablet .wp-block-kadence-header-column-tablet-center > .dgwt-wcas-search-wrapp {
	width: 265px !important;
	max-width: 265px !important;
    min-width: 0 !important;
    flex: 0 1 265px !important;
    box-sizing: border-box !important;
    height: 33px !important;
	margin: 2px auto !important;
}

/* Tablet header: make the search bar slightly wider and fluid. */
@media (min-width: 481px) and (max-width: 1024px) {
.engineering-header .wp-block-kadence-header-tablet .dgwt-wcas-search-wrapp,
.engineering-header .wp-block-kadence-header-tablet .wp-block-kadence-header-column-tablet-center > .dgwt-wcas-search-wrapp {
	width: clamp(285px, 40vw, 350px) !important;
	max-width: calc(100% - 16px) !important;
	flex: 0 1 clamp(285px, 40vw, 350px) !important;
}
}
}

/* Final height lock: the plugin has its own min-height rules, and the older
 * generic FiboSearch block may still exist in the Customizer. These scoped
 * rules keep desktop at 30px while mobile/tablet remains at 33px. */
@media (min-width: 1025px) {
	.engineering-header .wp-block-kadence-header-desktop .dgwt-wcas-search-wrapp,
	.engineering-header .wp-block-kadence-header-desktop .dgwt-wcas-search-form,
	.engineering-header .wp-block-kadence-header-desktop .dgwt-wcas-sf-wrapp,
	.engineering-header .wp-block-kadence-header-desktop .dgwt-wcas-search-input,
	.engineering-header .wp-block-kadence-header-desktop .dgwt-wcas-search-submit {
		height: 30px !important;
		min-height: 30px !important;
		line-height: 30px !important;
	}
}

@media (max-width: 1024px) {
	.engineering-header .wp-block-kadence-header-tablet .dgwt-wcas-search-wrapp,
	.engineering-header .wp-block-kadence-header-tablet .dgwt-wcas-search-form,
	.engineering-header .wp-block-kadence-header-tablet .dgwt-wcas-sf-wrapp,
	.engineering-header .wp-block-kadence-header-tablet .dgwt-wcas-search-input,
	.engineering-header .wp-block-kadence-header-tablet .dgwt-wcas-search-submit {
		height: 33px !important;
		min-height: 33px !important;
		line-height: 33px !important;
	}
}









