/**
 * YMM Filter Styles
 * Max height: 60px (parent container)
 */

.ymm-filter-wrap {
	background-color: #3B9AE8;
	padding: 10px 16px;
	width: 100%;
	box-sizing: border-box;
}

.ymm-filter-inner {
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: 1200px;
	margin: 0 auto;
}

.ymm-filter-select-wrap {
	flex: 1;
	min-width: 0;
}

.ymm-filter-select {
	width: 100%;
	height: 40px;
	padding: 0 32px 0 12px;
	border: none;
	border-radius: 4px;
	background-color: #fff;
	color: #333;
	font-size: 14px;
	line-height: 40px;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 12px 8px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	transition: opacity 0.2s ease;
}

.ymm-filter-select:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.ymm-filter-select:focus {
	outline: 2px solid #fff;
	outline-offset: 1px;
}

.ymm-filter-search-btn {
	flex-shrink: 0;
	width: 44px;
	height: 40px;
	border: none;
	border-radius: 4px;
	background-color: #E53935;
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.2s ease;
	padding: 0;
}

.ymm-filter-search-btn:hover {
	background-color: #C62828;
}

.ymm-filter-search-btn:focus {
	outline: 2px solid #fff;
	outline-offset: 1px;
}

.ymm-filter-search-btn svg {
	width: 22px;
	height: 22px;
}

/* Loading state */
.ymm-filter-search-btn.loading {
	opacity: 0.7;
	cursor: wait;
}

.ymm-filter-search-btn:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

/* Message styles - positioned outside the filter */
.ymm-filter-message {
	padding: 10px 14px;
	margin-top: 8px;
	border-radius: 4px;
	font-size: 13px;
	text-align: center;
}

.ymm-filter-message-warning {
	background-color: #FFF3CD;
	color: #856404;
	border: 1px solid #FFEEBA;
}

.ymm-filter-message-error {
	background-color: #F8D7DA;
	color: #721C24;
	border: 1px solid #F5C6CB;
}

.ymm-filter-message-success {
	background-color: #D4EDDA;
	color: #155724;
	border: 1px solid #C3E6CB;
}

/* Responsive */
@media (max-width: 768px) {
	.ymm-filter-wrap {
		padding: 8px 12px;
	}

	.ymm-filter-inner {
		gap: 8px;
	}

	.ymm-filter-select {
		height: 36px;
		line-height: 36px;
		font-size: 13px;
	}

	.ymm-filter-search-btn {
		width: 40px;
		height: 36px;
	}

	.ymm-filter-search-btn svg {
		width: 20px;
		height: 20px;
	}
}

@media (max-width: 480px) {
	.ymm-filter-inner {
		flex-wrap: nowrap;
		gap: 6px;
	}

	.ymm-filter-select-wrap {
		flex: 1 1 0;
		min-width: 0;
	}

	.ymm-filter-select {
		height: 34px;
		line-height: 34px;
		font-size: 12px;
		padding: 0 28px 0 8px;
	}

	.ymm-filter-search-btn {
		height: 34px;
		width: 40px;
		flex-shrink: 0;
	}
}

@media (max-width: 1024px) {
    .whb-header-bottom-inner {
        height: auto !important;
        max-height: unset !important;
    }
}

@media (max-width: 1024px) {
    .whb-column12 {
        display: contents;
    }
}