@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai&display=swap');

* {
	font-family: 'Noto Sans Thai', sans-serif;
}

body {
	width: 100%;
	height: 120vh;
	background: linear-gradient(-135deg, #2f3146, rgb(21, 21, 48)) no-repeat center center fixed !important; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

/********************/
/* Sweetalert       */
/********************/
body.swal2-height-auto {
	height: 120vh !important;
}

div:where(.swal2-container) div:where(.swal2-popup) {
	border-radius: 0;
	background: #1A1A1E;
}

div:where(.swal2-container) h2:where(.swal2-title) {
	font-size: 1.275em;
	
	color: #fff !important;
}

div:where(.swal2-container) input:where(.swal2-input), div:where(.swal2-container) input:where(.swal2-file), div:where(.swal2-container) textarea:where(.swal2-textarea) {
	border-radius: 0;
	background: rgba(33, 33, 36, 1);
	color:#fff;
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm {
	border-radius: 0;
    border: 1px solid #464652;
	background-color: rgba(33, 33, 36, 1) !important;
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm:hover {
	background: #0085f2 !important;
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-cancel {
	border-radius: 0;
    border: 1px solid #464652;
	background-color: rgba(33, 33, 36, 1) !important;
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-cancel:hover {
	background: #fc0303 !important;
}

/********************/
/* Bootstrap        */
/********************/
.pt-10 {
	margin-top: 4px;
}

.card {
	background: #0B0D26;
	border-radius: 5px;
}

.nav-tabs {
	border-bottom: 0;
}

.nav-tabs .nav-link {
	background: rgba(33, 33, 36, 1);
	border-top-left-radius: 0;
	border-top-right-radius: 0;
    border: 1px solid #464652;
	
	color: #fff;
}

.nav-tabs .nav-link:hover {
	color: #fff;
}

.nav-item {
	margin-right: 5px;
}

.input-group-text {
	border: 1px solid #464652;
	background: rgba(21, 21, 48, 0.9);
	
	color: #FFF;
}

.alert-primary {
	background: #1A1A1E;
	border: 1px solid #212124;

	color: #fff;
}

.badge {
	border-radius: 0;
}

.badge.text-bg-primary {
	background: #1A1A1E !important;
	border: 1px solid #212124;
}

/********************/
/* DataTable        */
/********************/
.table.dataTable {
	padding-top: 5px;
}

.dataTables_length > label, .dataTables_filter > label, .dataTables_wrapper .dataTables_paginate {
	color: #fff;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
	color: #fff !important;
}

.dataTables_length select, .dataTables_wrapper .dataTables_filter input, .dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
	border-radius: 0 !important;
	background: rgba(33, 33, 36, 1) !important;
}

.dataTables_wrapper .dataTables_info {
	color: #fff;
}

/********************/
/* Login            */
/********************/
.container-login {
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	
	width: 420px;
    height: 290px;
	
	color: #fff;
	
	border-radius: 5px;
    background: rgba(21, 21, 48, 0.9);
    border: 2px solid rgba(133, 133, 215, 0.2);
	
	padding: 30px;
}

.container-login .logo {
	font-size: 30px;
}

.container-login.otp-verify {
	display: none;
	height: 300px !important;
}

.container-login .btn {
	border-radius: 5px;
    border: none;
}

.container-login .btn.btn-primary {
	color: rgba(255, 255, 255, 0.75);
	background: rgba(47, 48, 65, 0.5);
}

.container-login .btn.btn-primary:hover {
	color: rgb(67, 189, 255);
	background: rgba(255, 145, 67, 0.1);
	border-left: 5px solid rgb(65, 165, 253);
}

/********************/
/* Payment          */
/********************/
.qrcode-form .btn {
	border-radius: 0;
	border: 1px solid #464652;
}

.qrcode-form .btn.btn-primary {
	background: rgba(33, 33, 36, 1);
}

.qrcode-form .btn.btn-primary:hover {
	background: #0085f2;
}

.qrcode .btn {
	border-radius: 0;
}

.qrcode .btn.btn-success {
	width: 250px;
	height: 60px;
	background: #198754;
	border: 1px solid #198754;
}

.qrcode .btn.btn-success:hover {
	background: #198754;
}


.qrcode .btn.btn-danger {
	width: 250px;
}

/********************/
/* Exchange         */
/********************/
.exchange .box {
	text-align: center;
	background-color: #151530;
    border-radius: 5px;
	
	position: relative;
}

.exchange .box > .name {
	padding-top: 10px;
	padding-left: 10px;
	padding-right: 10px;
	
	text-align: left;
	
	font-size: 20px;
	font-weight: 600;
	
	color: #FFF;
}

.exchange .box > .image > img {
	width: 50%;
}

.exchange .box > .box-2 {
	text-align: left;
	
	padding: 10px;
	
	color: #fff;
	
	font-size: 14px;
	font-weight: 600;
	
	background: #393B5850;
    border-radius: 5px;
}

.exchange .box > .box-2 span {
	color: #0085f2;
}

.exchange .box > .box-2 .money {
	width: 32px;
	
	margin-top: -5px;
}

.exchange .box > .box-2 .buy-btn > .btn {
	border-radius: 5px;
	border: 1px solid #464652;
}

.exchange .box > .box-2 .buy-btn > .btn.btn-primary {
	background: rgba(33, 33, 36, 1);
}

.exchange .box > .box-2 .buy-btn > .btn.btn-primary:hover {
	background: #0085f2;
}

.exchange .box > .box-2 button {
	width: 100px;
}


.exchange .box .btn-info {
	margin-right: 10px;
    margin-top: 10px;
	
	border-radius: 5px;
	border: 1px solid #464652;
	
	color: #FFFFFF;
	
	position: absolute;
	top: 0;
	right: 0;
}

.exchange .box .btn-info {
	background: rgba(33, 33, 36, 1);
}

.exchange .box .btn-info:hover {
	background: #0085f2;
}

/* NEW CSS */
hr {
	border: 1px solid rgba(59, 61, 87, 0.5);
}

.bg-dark {
	background: #0B0D26!important;
	border-radius: 5px;
}

.point {
    position: absolute;
    margin-top: 15px;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: #318ade;
    transform: rotate(45deg);
}
  
.point.right {
    top: 0;
    right: 0;
    margin-top: 50px;
    margin-right: 35px;
}

.bottom-line {
	position: absolute;

	left: 50%;
	bottom: 0;
	
	transform: translate(-50%, 0%);

	width: 300px;
	height: 3px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	background: #31a2de;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #318ade, #31a2de);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #318ade, #31a2de); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.ml-ex {
	padding-left: 12px;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
	color: #FFF !important;
    background-color: #151530 !important;
}

.nav-pills .nav-link {
	color: #a4a4a4 !important;
}

.badge {
	line-height: 30px;
}

.badge > .money {
	width: 24px;
    margin-top: -5px;
}

.account .point {
	margin-left: 3px;
	margin-top: 10px;
}

.account .point.right {
	margin-top: 27px;
    margin-right: 18px;
}

.account .text {
	font-size: 18px;
}

.account .bottom-line {
	width: 80%;
}