@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai&display=swap');

* {
	font-family: 'Noto Sans Thai', sans-serif;
}

body {
    background: url("../images/background.png");
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

a {
	text-decoration: none;
	color: #fff;
}

a:hover {
	text-decoration: none;
    color: #d7d7d7;
}

footer {
	background-color: #212529;
	position: fixed;
	bottom: 0;
	width: 100%;
	padding: 15px 0;
	text-align: center;
	border-top: 1px solid #343a40;
}

footer .text-footer {
    position: relative;
    text-align: center;
    color: #d7d7d7;
    font-size: 15px;
}

/* SWEETALER */
.swal2-popup {
	background: #1A1A1E;
}

div:where(.swal2-container) div:where(.swal2-popup) {
	background: #1A1A1E;
}

div:where(.swal2-container) h2:where(.swal2-title), .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) {
	background: #212529;
	color:#fff;
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm {
	border: 1px solid #343a40;
	background-color: #212529 !important;
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm:hover {
	background: #B00000 !important;
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-cancel {
	border: 1px solid #343a40;
	background-color: #212529 !important;
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-cancel:hover {
	background: #fc0303 !important;
}

/* LOGIN */
.auth-body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	margin: 0;
	padding: 0;
}

.auth-container {
	text-align: center;
	background-color: white;
	padding: 2.5rem;
	border-radius: 15px;
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
	max-width: 500px;
	width: 90%;
	margin: 0 auto;
}

.auth-container h1 {
	font-size: 1.8rem;
	margin-bottom: 1.5rem;
	color: #B00000;
	font-weight: 600;
}

.phone-icon {
	font-size: 3.5rem;
	margin-bottom: 1.5rem;
	color: #B00000;
}

.otp-inputs, .phone-inputs {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin-bottom: 2rem;
}

.otp-inputs input,
.phone-inputs input {
	width: 45px;
	height: 45px;
	text-align: center;
	font-size: 1.2rem;
	border: 2px solid #dee2e6;
	background: white;
	color: #B00000;
	border-radius: 8px;
	outline: none;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.otp-inputs input:focus,
.phone-inputs input:focus {
	border-color: #B00000;
	box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.otp-button,
.phone-button {
	background-color: #B00000;
	color: white;
	border: none;
	padding: 0.7rem 2rem;
	font-size: 1.1rem;
	font-weight: 500;
	cursor: pointer;
	border-radius: 8px;
	transition: all 0.2s ease-in-out;
	width: 100%;
}

.otp-button:hover,
.phone-button:hover {
	background-color: #B00000;
	transform: translateY(-2px);
}

.small-text {
	margin-top: 1rem;
	font-size: 0.85rem;
	color: #6c757d;
}

@media (max-width: 576px) {
	.auth-container {
		padding: 1.5rem;
	}
}

.shop {
	padding-top: 70px;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
	color: #FFF !important;
    background-color: rgba(33,37,41, 255) !important;
}

.nav-pills .nav-link {
	color: #a4a4a4 !important;
}

.shop .box {
	text-align: center;
	background-color: #212529;
    border-radius: 5px;
	
	position: relative;
}

.shop .box > .name {
	padding-top: 10px;
	padding-left: 10px;
	padding-right: 10px;
	
	text-align: left;
	
	font-size: 16px;
	font-weight: 600;
	
	color: #FFF;
}

.shop .box > .image > img {
	width: 50%;
}

.shop .box > .box-2 {
	text-align: left;
	
	padding: 10px;
	
	color: #fff;
	
	font-size: 14px;
	font-weight: 600;
	
	background: #343a40;
    border-radius: 5px;
}

.shop .box > .box-2 span {
	color: #B00000;
}

.shop .box > .box-2 .money {
	width: 24px;
    margin-top: -2.5px;
}

.shop .box > .box-2 .buy-btn > .btn {
	border-radius: 5px;
	border: 1px solid #343a40;
}

.shop .box > .box-2 .buy-btn > .btn.btn-primary {
	background: #212529;
}

.shop .box > .box-2 .buy-btn > .btn.btn-primary:hover {
	background: #B00000;
}

.shop .box > .box-2 button {
	width: 100px;
}


.shop .box .btn-info {
	margin-right: 10px;
    margin-top: 10px;
	
	border-radius: 5px;
	border: 1px solid #343a40;
	
	color: #FFFFFF;
	
	position: absolute;
	top: 0;
	right: 0;
}

.shop .box .btn-info {
	background: #212529;
}

.shop .box .btn-info:hover {
	background: #B00000;
}