*{
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

body{
	font-family: 'Barlow', sans-serif;
	background: url(../../public/images/bg3.jpg) no-repeat top center fixed;
	background-size: cover;
}

.qmk {
    font-size: 15px;
    margin-bottom: 0;
    text-align: right;
    display: block;
    color: #333;
    font-weight: 500;
	text-decoration: none;
}

    .qmk:hover {
        color: #ae0000;
        text-decoration: none;
    }

.text_dkm {
    text-align: center;
    margin: 0;
}

.btn_dkm {
    color: #22ae08;
    font-weight: 500;
    display: block;
    text-align: center;
	text-decoration: none;
}

    .btn_dkm:hover {
        /* background: #007a90; */
        text-decoration: none;
        color: #f30000;
    }
 input:focus, select:focus, button:focus {
    outline: none; /* Loại bỏ đường viền mặc định của trình duyệt */
    border-color: #233237; /* Màu viền khi focus - thay đổi màu sắc theo ý muốn */
    box-shadow: 0 0 5px rgba( 0, 0, 0, 1 ); /* Thêm hiệu ứng shadow khi focus - tùy chọn */
    
}

.row-button{
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-direction: column;
}
.row-button button{
	flex-grow: 1;
	margin: 15px 5px;
	min-width: 50%;
	max-width: 100%;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover{
	background: none !important;
	border:  1px solid transparent ;
}
.dataTables_wrapper .dataTables_paginate .paginate_button{
	padding: 0px !important;
}
.custom-have-otp label.error{
	order:  1;
	width: 100%;
}
.form-custom{
	border-radius: 6px;
	padding: 6px 12px;
	border: 1px solid #dee2e6;	
}
.form-custom:focus{
	outline: none;
}
.form-custom[readonly]{
	background: #dee2e6;
}
table.dataTable{
	border-collapse:  collapse !important;
}
table.dataTable button{
	color:  #fff;
	border: none;
	background: #0993af;
	padding: 6px 12px;
	border-radius: 6px;
}

.home-form-box-valid label{
	order: 2;
	width: 100%;
}
.toggle-button-menu{
	border:  none;
	background: none;
	font-size: 24px;
	color: #0993af;
}
.form-right-home{
	padding: 0px 12px;
}
.right-home .left-title-home{
	padding: 23px 0px;
	position: relative;
/*	display: flex;*/
	align-items: center;
}
.right-home .left-title-home h4{
	margin: 0;
	position: relative;
	z-index: 1;
	margin: 0;
	text-transform: uppercase;
	color: #fff;
	padding: 6px 12px;
	
}
.right-home .left-title-home h4:before{
	content: '';
	width: calc(100% + 20px);
	height: 100%;
	position: absolute;
	top: -3px;
	left: 0;
	z-index: -1;
	border-bottom: 21px solid #0b9fbd;
	border-top: 22px solid #0b9fbd;
	border-left: 0 solid transparent;
	border-right: 25px solid transparent;
}
/*right home*/
.btn_thoat{
	margin: 12px;
}
.ul-custom-home-left{
	flex-grow: 1;
}
.ul-custom-home-left .nav-item{
	border-bottom: dotted 1px #e4e4e4;
}
.info-left-side{
	background: #fff;
	padding: 12px !important;
	margin:  0 !important;
}
.ul-custom-home-left li{
	margin: 0px 12px;
	padding: 12px 0px;

}
.home-tab{
	min-height: 520px;
}


.nav-link-custom .cus-info-icon{
	background: #0e002f;
	padding: 6px;
	margin-right: 6px;
	border-radius: 6px;
	font-size: 18px;
	color: #fff;
}
.nav-link-custom a > i{
	margin-right: 3px;


}
.nav-link-custom a{
	text-decoration: none;
	color: #0e002f;
	display: flex;
	align-items: center;
	font-size: 18px;
	transition: 0.2s;
}
.nav-link-custom a:hover{
	font-weight: bold;
	color: #0b9fbd;

}
.nav-link-custom a.active{
	font-weight: bold;
	color: #0b9fbd;
}
.nav-link-custom span{
	font-weight: bold;

}
.nav-link-custom{
	font-size: 1.1em;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.home-tab .left-home{
	border: 1px solid #afb0b9;
	background: #ffffff;
	padding: 0;
	display: flex;
	flex-direction: column;
	
	border-radius: 10px 0px 0px 10px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.home-tab .right-home{
	border: 1px solid #afb0b9;
	background: #ffffff;
	padding: 0;
	display: flex;
	flex-direction: column;
	border-radius: 0px 10px 10px 0px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.relative-card{
	position: relative;
	overflow: hidden;
}
/*text-style*/
.loading-form{
	z-index: 99;
	position: absolute;
	left: 0;
	width: 100%;
	height: 100%;
	background: #2427386b;
	color: #fff;
	display: none;
}
.loading-form div{
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	display: flex;
	flex-direction: column;
	align-content: center;
	justify-content: center;
	text-align: center;
}
.loading-form div>i{
	font-size: 120px;

}
.text-primary{
	color: #233237 !important;
	
}
.text-danger{
	color: #ff4954 !important;
}
.text-warning{
	color: #ff7e0f  !important;
}
.text-success{
	color: #3cd458 !important;
}
.text-info{
	color:  #233237 !important;
}

.bg-primary{
	background-color: #233237 !important;
	
}
.bg-warning{
	background-color: #dd7100 !important;
	
}
.bg-danger{
	background-color: #ff4954 !important;
}
.bg-success{
	background-color: #198754 !important;
}
.bg-info{
	background-color:  #233237 !important;
}
/*text-style*/

/*button*/
.modal-header .close{
	font-weight: 100;
	font-size: 35px;
}
button.close{
	padding: 0;
	background-color: transparent;
	border: 0;
	-webkit-appearance: none
}
.btn-cus{
	border-radius: 3px;
	border:  0;
	padding: 12px 20px;
	text-decoration: none;
}
.btn-cus:focus-visible{
	outline: 0;
}
.btn-primary{
	color: #ffff;
	background: #1393bd;
	border-color: #066483;
}
.btn-primary:hover{
	color: #fff;
	background-color: #5cc2e3 !important;
	border-color: #066483 !important;
	-webkit-box-shadow: 0 1px 10px rgb(80 161 255 / 40%);
	box-shadow: 0 1px 10px rgb(80 161 255 / 40%);
}

/*danger*/
.btn-info{
	color:  #ffff;
	background: #1393bd;
	border-color: #066483;
}
.btn-info:hover{
	color: #fff;
	background-color: #5cc2e3;
	border-color: #066483;
	-webkit-box-shadow: 0 1px 10px rgb(146 109 222 / 40%);
	box-shadow: 0 1px 10px rgb(146 109 222 / 40%);
}
.btn-danger{
	color: #ffff;
	background: #ff4954;
	border-color: #ff4954;
}
.btn-danger:hover{
	color: #fff;
	background-color: #ff3541;
	border-color: #ff3541;
	-webkit-box-shadow:0 1px 10px rgb(255 73 84 / 40%);
	box-shadow: 0 1px 10px rgb(255 73 84 / 40%);
}
.btn-success{
	color: #ffff;
	background: #3cd458;
	border-color: #3cd458;
}
.btn-success:hover{
	color: #fff;
	background-color: #3cd458;
	border-color: #3cd458;
	-webkit-box-shadow:0 1px 10px rgb(73 255 129 / 40%);
	box-shadow: 0 1px 10px rgb(73 255 129 / 40%);
}
/*button*/
button {
    background-color: #0993af;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    display: inline-block;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
}

/* Hover effect */
button:hover {
    background-color: #caecf7;
}

.btn-custom {
    background-color: #0993af; /* Màu đỏ - thay đổi màu sắc theo ý muốn */
    color: #FFFFFF; /* Màu chữ trắng */
    /* Các thuộc tính CSS tùy chọn khác */
}

.logo{
	text-align: center;
	padding: 24px 0px;
}
.logo a{
	display: inline-block;
}

.logo img{
/*	animation-name: shadow_light;*/
	animation-duration: 5s;
	animation-iteration-count: infinite;
}
.menu-game{
	
	text-align: center;
	font-size: x-large;
	height: 100px;
	
}
.menu-game a{
	text-decoration: none;
	color: #ffff;
	padding-right: 12px;
	margin-right: 12px;
	border-right: 3px solid #ff0000;
	font-weight: 700;
}
.menu-game a:hover{
	
	color: red;
}
.menu-game a:last-child{
	border-right: unset;
	padding-right: unset;
	margin-right: unset;
}
.other-case{
	position: relative;
	text-align: center;
	display: inline-block;
	margin: 0;
	padding: 0px 32px;
}
.other-case:after{
	content: '';
	position: absolute;
	left: 0;
	width: 24px;
	height: 1px;
	top: 50%;
	background: #000;
}
.other-case:before{
	content: '';
	position: absolute;
	right: 0;
	width: 24px;
	height: 1px;
	top: 50%;
	background: #000;
}
.label-cus-left{
	border-left: 3px solid #161612c7;
	padding-left: 6px;
	
}
.box-valid label.error{
	color: #d82355;
	font-size: 14px;
	order: 1;
	width: 100%;
}
@keyframes shadow_light {
	0%   {filter: drop-shadow(0px 0px 25px #feff88);}
	50%{filter: drop-shadow(0px 0px 0px #fecc12);}
	100%{filter: drop-shadow(0px 0px 25px #feff88);}
}
.user_recharge {
    font-size: 1.1em;
    background: #0ca7f10a;
    margin: -20px -20px 20px -20px;
    padding: 20px 0 20px 20px;
    font-weight: 500;
    /* border-bottom: 1px solid #bdf7cc; */
}


.gift-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.gift-box {
    width: 100px;
    height: 100px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: 2px solid transparent; /* Thêm dòng này để tạo khung ban đầu */
}

.gift-box img {
    width: 60px;
    height: 60px;
    position: absolute;
    transition: opacity 0.3s;
}

.gift-box.selected {
    border: 2px solid orangered; /* Thay đổi màu khung khi chọn */
}

.gift-box .gift-hover-image,
.gift-box .gift-opened-image {
    opacity: 0;
}

.gift-box:hover .gift-hover-image {
    opacity: 1;
}

.gift-box:hover .gift-image {
    opacity: 0;
}

.gift-box.opened .gift-opened-image {
    opacity: 1;
}

.gift-box.opened .gift-image,
.gift-box.opened .gift-hover-image {
    opacity: 0;
}



#result {
    margin-top: 20px;
    font-size: 18px;
    color: #333;
}

.box-label {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-size: 10px; /* Thay đổi kích cỡ */
    color: #444444; /* Thay đổi màu sắc */
    font-weight: bold; /* Đậm chữ */
    margin-top: 10px;
}

.gift-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.gift-box {
    border: 1px solid #ccc;
    background-color: #fff;
    padding: 20px;
    width: 100px;
    height: 100px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
    text-align: center;
}

.gift-box img {
    max-width: 100%;
    height: auto;
}

.highlight {
    border: 2px solid red;
}
.custom-option {
    display: flex;
    align-items: center;
}

.custom-option img {
    margin-right: 5px;
    width: 50px;
    height: 50px;
}
.select2-container .select2-selection--single .select2-selection__rendered {
    display: flex;
    align-items: center;
}

.select2-container .select2-selection--single .select2-selection__rendered img {
    margin-right: 10px;
    height: 20px;
    width: 20px;
}
.item-boxes {
    display: flex;
    flex-wrap: wrap; /* Cho phép các phần tử xuống hàng */
    justify-content: flex-start; /* Căn các phần tử về bên trái */
    gap: 20px; /* Khoảng cách giữa các phần tử */
    padding: 16px;
    background-color: #f0f0f0;
}

.item-box {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    width: 200px; /* Đặt chiều rộng cho các hộp vật phẩm */
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    box-sizing: border-box;
}

.item-image {
    width: 40%; /* Đặt chiều rộng ảnh */
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
}

.item-details {
    margin-bottom: 20px;
    text-align: left;
    width: 100%;
}

.buy-button {
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    width: calc(100% - 40px);
    position: absolute;
    bottom: 10px; /* Giảm khoảng cách với đáy */
    left: 50%;
    transform: translateX(-50%);
}

.buy-button:hover {
    background-color: #218838;
}


.blinking-new {
    color: red;
    animation: blink 1s infinite;
    font-weight: bold;
    margin-left: 5px;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}
