/* css vps pricing table */
@media screen and (min-width: 1024px) {
	.hc-wp .view-mb {
		display: none;
	}
}
.hc-wp table.pricing-table {
    font-size: .875rem !important;
    line-height: 1.25rem !important;
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
	max-width: 1140px;
	margin: auto;
}
.hc-wp .pricing-table tr {
    border-style: solid;
    border-color: #e4e6ea;
    border-width: 1px;
}
.hc-wp table.pricing-table tr:nth-child(odd) {
    background-color: rgba(243, 244, 246, 1) !important;
}
.hc-wp .pricing-table th {
     background-color: white;
     font-size: 16px;
}
.hc-wp .pricing-table td, .hc-wp .pricing-table th {
    padding: 0.75rem 0.6rem;
    text-align: center;
}

.hc-wp .item-value {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hc-wp .left-bold {
    font-weight: 700;
    text-align: left;
    padding-left: 2rem;
}

.hc-wp .item-value img {
    margin-bottom: 5px;
}

.hc-wp .el-custom-text-price {
    color: #F2994A;
}
.hc-wp .leading-5 {
    line-height: 1.25rem !important;
}
.hc-wp .font-bold {
    font-weight: 700 !important;
}
.hc-wp .el-custom-text-discount {
    background-color: #EB5757;
    color: #FFFFFF;
    border-radius: 5px;
}
.hc-wp .text-xs {
    font-size: .75rem !important;
    line-height: 1rem !important;
}
.hc-wp .p-1 {
    padding: .25rem !important;
}
.hc-wp .text-base {
    font-size: 1rem !important;
    line-height: 1.5rem !important;
}
.hc-wp .el-custom-text-price-base {
    font-size: 14px !important;
    color: #b1b1b1 !important;
    vertical-align: middle;
	text-decoration: line-through;
}
.hc-wp a.vps-reg {
    border: none;
    background: linear-gradient(97deg, #ffbd2a 5%, #fd7659 170.21%);
    color: #fff;
    min-width: 120px;
    display: inline-flex;
    height: 40px;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border-radius: 5px;
    box-shadow: 0px 5px 30px 0px rgba(0,0,0,.1);
}
.hc-wp .icon-estimating .absolute {
    z-index: 1;
    box-shadow: none;
    top: 30px;
    left: -85px;
    display: none;
    position: absolute;
    background: white;
    text-align: left;
}
.hc-wp .icon-estimating .absolute:before {
    content: "";
    width: 20px;
    height: 20px;
    background: #fff;
    transform: rotateZ(45deg) translateY(50%);
    top: -12px;
    left: 50%;
    z-index: 1;
    -webkit-transform: rotateZ(45deg) translateY(50%);
    -moz-transform: rotateZ(45deg) translateY(50%);
    -ms-transform: rotateZ(45deg) translateY(50%);
    -o-transform: rotateZ(45deg) translateY(50%);
}
.hc-wp .estimating-cost:before {
    font-family: "Font Awesome 5 Free";
    content: "\f0d8";
    font-weight: 700;
    font-size: 28px;
    color: #ffffff;
    position: absolute;
    top: -26px;
    left: 95px;
}
 .hc-wp .icon-estimating .absolute:after {
    content: "";
    width: 100%;
    height: 100%;
    box-shadow: 0 0 20px #8080808c;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}
.hc-wp .relative.icon-estimating {
    position: relative;
}
.hc-wp .rounded-lg {
    border-radius: .5rem !important;
}
.hc-wp .w-48 {
    width: 12rem !important;
}
.hc-wp .icon-estimating:hover .absolute {
    display: block;
}
.hc-wp .font-bold {
    font-weight: 700 !important;
}
.hc-wp .py-2 {
    padding-top: .5rem !important;
    padding-bottom: .5rem !important;
}
.hc-wp .p-4 {
    padding: 1rem !important;
}
.hc-wp td.package-price {
    text-align: right;
}
.hc-wp .tabs {
    display: flex;
    border: 1px solid;
    width: 100%;
    padding: 0.5rem;
    max-width: 850px;
    margin: auto;
    margin-bottom: 30px;
    border-radius: 0.4rem;
    border-color: #ccc;
    justify-content: space-around;
}

.hc-wp .tab-button {
    padding: 10px 20px;
    cursor: pointer;
    background: white;
    border: none;
    outline: none;
    margin-right: 5px;
    transition: background 0.3s;
    color: black;
}

.hc-wp .tab-button.active, .hc-wp .tab-button:hover {
    background: linear-gradient(90deg,#66bcff 0%,#0075ff 100%);
    color: white;
}

.hc-wp .tab-content {
    background: #fff;
}
.hc-wp .el-custom-tab-discount {
    color: #FFFFFF;
    background-color: #F2994A;
	margin-left: 5px;
}
.hc-wp .text-xs {
    font-size: .75rem !important;
    line-height: 1rem !important;
}
.hc-wp .py-1 {
    padding-top: .25rem !important;
    padding-bottom: .25rem !important;
}
.hc-wp .px-1 {
    padding-left: .25rem !important;
    padding-right: .25rem !important;
}
.hc-wp .rounded-md {
    border-radius: .375rem !important;
}
@media screen and (max-width: 1024px) {
	.hc-wp .tabs {
		border: none;
		padding: 0;
		display: grid;
		grid-template-columns: 1fr 1fr; /* Định nghĩa hai cột bằng nhau */
		gap: 10px; /* Khoảng cách giữa các ô trong grid */
	}

	.hc-wp button.tab-button {
		margin: 0;
		border: 1px solid #ccc;
		box-shadow: none;
	}

	.hc-wp table.pricing-table thead {
		display: none;
	}
	.hc-wp table.pricing-table tr {
		display: flex;
		flex-wrap: wrap;
		margin-bottom: 20px;
		padding: 5px;
		border-radius: 5px;
	}
	.hc-wp table.pricing-table td {
		border: none;
	}
	.hc-wp .package-name, .hc-wp .package-cpu, .hc-wp .package-ram, .hc-wp .package-disk, .hc-wp .package-da, .hc-wp .package-price, .hc-wp .package-link {
		flex: 1 1 50%; 
		padding: 10px;
	}
	.hc-wp td.package-name {
		order: 1;
		vertical-align: middle;
		font-size: 18px;
		display: flex;
		align-items: center;
		color: #168aff;
	}
	.hc-wp td.package-cpu.p-3 {
		order: 3;
	}
	.hc-wp td.package-price.p-3 {
		order: 2;
	}
	.hc-wp td.package-ram.p-3 {
		order: 4;
	}
	.hc-wp td.package-disk.p-3 {
		order: 5;
	}
	.hc-wp td.package-da.p-3 {
		order: 6;
	}
	.hc-wp td.p-3 {order: 8;}
	.hc-wp td.package-link {
		order: 7;
	}
	.hc-wp .item-value {
		display: flex;
		flex-direction: row;
		align-items: center;
		font-size: 16px
	}
	.hc-wp .item-value img {
		margin-bottom: 0;
		margin-right: 10px;
	}
	.hc-wp table tr:nth-child(odd) {
		background-color: white !important;
	}
	.hc-wp td.package-ram.p-3 > div, .hc-wp td.package-da.p-3 > div {
		justify-content: flex-end;
	}
	.hc-wp a.vps-reg {
		width: 100%;
	}
	 .hc-wp .estimating-cost {
		left: -155px !important;
		top: 40px !important;
	}
	.hc-wp .icon-estimating .absolute:before {
		left: 85%;
	}
}
@media screen and (max-width: 540px) {
	.hc-wp .item-value {
		font-size: 12px
	}
}