/* Container tổng bao ngoài form */
.tc-container {
	width: 100%;
	max-width: 1200px;
	margin: 30px auto;
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
	overflow: hidden;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	border: 1px solid #eeeeee;
}

/* Định dạng các Tabs chuyển đổi */
.tc-tabs {
	display: flex;
	border-bottom: 1px solid #e0e0e0;
	background-color: #ffffff;
}

.tc-tab {
	flex: 1;
	text-align: center;
	padding: 22px 15px;
	font-size: 16px;
	font-weight: 700;
	color: #666666;
	cursor: pointer;
	text-transform: uppercase;
	position: relative;
	transition: all 0.25s ease;
}

/* Hover vào tab chưa chọn */
.tc-tab:hover {
	color: var(--color-main);
	background-color: #fafafa;
}

/* Khi Tab đang được active */
.tc-tab.active {
	color: var(--color-main);
}

.tc-tab.active::after {
	content: "";
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 100%;
	height: 4px;
	background-color: var(--color-main);
}

/* Khung bọc khu vực form nhập dữ liệu */
.tc-form {
	padding: 30px;
	padding-bottom:10px;
}

/* Grid layout chia 3 cột chính */
.tc-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 20px;
}

/* Căn đều các phần tử bên trong mỗi cột dọc */
.tc-col {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

/* Định dạng chung cho Select box và Input text */
.tc-input {
	width: 100%;
	height: 48px;
	padding: 0 15px;
	border: 1px solid #cccccc;
	border-radius: 6px;
	font-size: 15px;

	color: #333333;
	outline: none;
	background-color: #ffffff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	box-sizing: border-box;
}
.tc-input.maso{
	padding: 23px !important;
	border-radius: 7px !important;
}

.tc-input:focus {
	border-color: var(--color-main);
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
}

/* Style riêng cho thẻ Select (ẩn nút mũi tên mặc định để chèn mũi tên tùy biến) */
select.tc-input {
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 15px center;
	background-size: 14px;
	padding-right: 40px;
}

/* Định dạng các nút bấm Tìm Kiếm */
.tc-btn {
	width: 100%;
	height: 48px;
	background-color: var(--color-main);
	color: #ffffff;
	border: none;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	transition: opacity 0.2s ease, transform 0.1s ease;
	text-transform: uppercase;
}

.tc-btn:hover {
	opacity: 0.92;
}

.tc-btn:active {
	transform: scale(0.98);
}

/* Thanh thông tin footer dưới cùng */
.tc-footer {
	background-color: #f8f9fa;
	border-top: 1px solid #eeeeee;
	padding: 16px 30px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 15px;
}

.tc-footer-item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: #555555;
	font-weight: 500;
}

.tc-footer-item i {
	color: var(--color-main);
	font-size: 18px;
}

/* Tương thích hiển thị trên Mobile và Máy tính bảng */
@media (max-width: 991px) {
	.tc-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 767px) {
	.tc-grid {
		grid-template-columns: 1fr;
	}
	.tc-footer {
		flex-direction: column;
		align-items: flex-start;
		padding: 20px;
	}
	.tc-tab {
		font-size: 14px;
		padding: 15px 10px;
	}
}