/* fullscreen clock */
#digital-clock {
	display: none;
	/* default disembunyikan */
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: #0D0D0D;
	color: #82D6D6;
	font-family: 'Courier New', Courier, monospace;
	font-size: 15vw;
	/* responsive */
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	letter-spacing: 0.05em;
	text-shadow: 0 0 20px #82D6D6, 0 0 40px #82D6D6, 0 0 60px #82D6D6;
}

body {
	max-width: 450px;
	margin: auto;
	background-color: #D9EEF0;
	height: 100%;
	font-family: 'Montserrat', sans-serif;
}

#pages {
	max-width: 450px;
	top: 0px;
	height: 60px;
	width: calc(100% - 20px);
	margin-left: 10px;
	border-radius: 20px;
	margin-top: 10px;
}

#footer {
	position: fixed;
	bottom: 0px;
	width: 100%;
	background-color: #4EACB2;
	max-width: 450px;
	height: 80px;
	border-radius: 25px 25px 0px 0px;
}

/* sembunyikan pages/footer saat landscape */
@media screen and (orientation: landscape) {

	#pages,
	#footer {
		display: none !important;
	}

	#digital-clock {
		display: flex !important;
	}

	body {
		background-color: #0D0D0D;
	}
}

/*header*/
.header-container {
	background-color: transparent;
	width: calc(100% - 20px);
	margin-left: 10px;
	border-radius: 20px;
	margin-top: 20px;
}

.header-container .row {
	width: calc(100% - 20px);
	margin-left: 10px;
}

.back-button-col {
	margin-top: -7px;
}

.back-button {
	background-color: transparent;
	color: grey;
	font-size: 30px;
	border: none;
	margin-left: -30px;
	cursor: pointer;
	text-decoration: none;
}

.header-title {
	text-align: center;
	font-family: 'Montserrat', sans-serif;
	color: grey;
	margin: 0;
}

.btn-header {
	background-color: transparent;
	color: grey;
	font-size: 20px;
	border-style: none;
}

/*header*/
/*menu button*/
.container-title {
	background-color: transparent;
	width: calc(100% - 20px);
	margin-left: 10px;
	margin-top: 20px;
}

.menu-title {
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	color: grey;
}

.container-menu {
	width: calc(100% - 20px);
	margin-left: 10px;
	margin-top: 10px;
}

.container-saldo {
	background-color: #82D6D6;
	width: calc(100% - 20px);
	margin-left: 10px;
	border-radius: 20px;
	margin-top: 10px;
}

.saldo-title {
	color: grey;
	font-weight: 500;
	font-size: 14px;
	margin-top: 10px;
	text-align: center;
	font-family: 'Montserrat', sans-serif;
}

.saldo-nominal {
	color: #F7FAFC;
	font-size: 20px;
	font-weight: 500;
	text-align: center;
	margin-top: -5px;
	font-family: 'Montserrat', sans-serif;
	margin-bottom: 10px;
}

.icon-button {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0px;
	background-color: #D9EEF0;
	color: #4EACB2;
	border: none;
	border-radius: 15px;
	padding: 12px 20px;
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	cursor: pointer;
	transition: background-color 0.3s ease, transform 0.2s ease;
	width: calc(100% + 10px);
	height: 80px;
	transition: all 0.2s ease;
	box-shadow: 0 4px 6px rgba(78, 172, 178, 0.2),
		0 8px 16px rgba(0, 0, 0, 0.05);
}

.icon-button i {
	font-size: 22px;
}

/* Gambar ikon PNG */
.icon-button img {
	width: 32px;
	/* ukuran ikon */
	height: 32px;
	object-fit: contain;
	pointer-events: none;
	/* biar klik tetap di tombol, bukan gambar */
}

.input-group input:focus {
	border-color: transparent;
	box-shadow: none;
}

#voucherCek::placeholder {
	color: grey;
	font-size: 14px;
}

#voucherCek {
	font-size: 14px;
	border-radius: 10px 0px 0px 10px;
	border: 1px solid #82D6D6;
}

#cekVoucherBtn {
	background-color: #4EACB2;
	color: #F7FAFC;
	font-size: 14px;
	border-radius: 0px 10px 10px 0px;
}

.button-col {
	margin-right: -3.3px;
}

/*menu button*/
/*chart*/
.container-chart {
	background-color: #F7FAFC;
	margin-top: 10px;
	width: calc(100% - 20px);
	margin-left: 10px;
	border-radius: 20px 20px 5px 5px;
	position: relative;
}

/* gaya spinner */
#chart-loading {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 28px;
	color: #4EACB2;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% {
		transform: translate(-50%, -50%) rotate(0deg);
	}

	100% {
		transform: translate(-50%, -50%) rotate(360deg);
	}
}

/*chart*/