/**
 * Search Box Shortcode
 * Path: themes/top-10-vina/shortcodes/search-box/search-box-style.css
 */

.tp-search-box {
	display: flex;
	align-items: stretch;
	width: 100%;
	max-width: 360px;
	margin: 0;
	background: #fff;
	border-radius: 3px;
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.08);
}

.tp-search-box__input {
	flex: 1;
	min-width: 0;
	height: 45px;
	margin: 0 !important;
	padding: 0 16px !important;
	border: 1px solid #eeeeee !important;
	border-right: 0 !important;
	border-radius: 3px 0 0 3px !important;
	background: #fff !important;
	color: #333;
	font-size: 14px;
	font-weight: 500;
	line-height: 45px;
	box-shadow: none !important;
	outline: none !important;
}

.tp-search-box__input::placeholder {
	color: #c5c5c5;
	font-weight: 500;
}

.tp-search-box__input:focus {
	border-color: #e50914 !important;
	box-shadow: none !important;
}

.tp-search-box__button {
	flex: 0 0 56px;
	width: 56px;
	height: 45px;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 3px 3px 0 !important;
	background: #e50914 !important;
	color: #fff !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: none !important;
	transition: background 0.22s ease, transform 0.22s ease;
}

.tp-search-box__button:hover {
	background: #c9000a !important;
	color: #fff !important;
}

.tp-search-box__button:active {
	transform: translateY(1px);
}

.tp-search-box__icon {
	display: block;
	color: currentColor;
}

.tp-search-box__button-text {
	font-size: 13px;
	font-weight: 700;
	color: #fff;
}

/* Full width option khi đặt trong column nhỏ */
.tp-search-box--full {
	max-width: 100%;
}

/* Mobile */
@media (max-width: 480px) {
	.tp-search-box {
		max-width: 100%;
	}

	.tp-search-box__input,
	.tp-search-box__button {
		height: 42px;
	}

	.tp-search-box__button {
		flex-basis: 52px;
		width: 52px;
	}
}