:root {
    --bs-primary: #28a745; /* Green color (Bootstrap's primary color) */
}

a {
	color: #28a745;
	font-size: 14px;
}

a:hover {
	color: #1e7e34;
}

.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.btn-primary:hover {
    background-color: #218838; /* Darker shade of green */
    border-color: #1e7e34;
}

.navbar {
    background-color: var(--bs-primary);
}

.form-check-input[type=checkbox] {
	border-color: var(--bs-primary);
}

.form-check-input[type=checkbox]:checked {
	background-color: var(--bs-primary);
}

.password-help {
	margin-left: 5px;
	cursor: pointer;
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh; /* Ensure full height */
    /* background-color: #d0ebf7; Light blue */
}

auth {
	display: block;
	width: 96%;
	margin: 2%;
	outline: 0px solid white;
	padding: 15px;
	box-shadow:0px 0px 5px 2px lightblue;
	border-radius: 5px;
}

main {
	width: 96%;
	/*margin: 2%;
	outline: 0px solid white;*/
	padding: 5px;
	/*box-shadow:0px 0px 5px 2px lightblue;
	border-radius: 5px;*/
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
	position: relative;
    padding: 10px 20px; /* Optional: Add padding for spacing */
    background-color: #f8f9fa; /* Optional: Add a background color */
    border-bottom: 1px solid #ddd; /* Optional: Add a bottom border */
}

.nav-menu,
.right-side-info {
    flex: 1; /* Distributes space evenly */
}

.logo {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
    flex: 0; /* Prevents from stretching */
    text-align: center;
}


.content-container {
	width: 430px;
    padding-top: 20px; /* Padding at the top */
    background: #fff; /* White background for content */
    border-radius: 10px; /* Optional rounded corners */
}


/* Menu popup */
#navMenuPopup {
    position: fixed;
    top: 50%;
	height: 100vh;
    left: 50%;
    transform: translate(-50%, -50%) scaleX(0); /* Closed state */
    width: 100%;
    max-width: 430px; /* Limit the maximum width */
    background: #d0ebf7;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    opacity: 0; /* Hidden by default */
    transition: transform 0.5s ease-in-out, opacity 0.6s ease-in-out;
    z-index: 2000;
}

#navMenuPopup.menu-open {
    transform: translate(-50%, -50%) scaleX(1); /* Open state */
    opacity: 1;
}

#closeMenu {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.menu-container {
    padding: 20px;
    text-align: center;
}

.menu-logo {
    margin-bottom: 20px;
}

.menu-item {
    margin-bottom: 10px;
}

.menuItemToggle {
    background: none;
    border: none;
	font-size: 18px;
    text-align: left;
    cursor: pointer;
    width: 100%;
    display: flex;
	align-items: center;
	gap: 10px;
}

.toggle-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: black; /* Solid black color */
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 0 L12 8 L4 16 Z"/></svg>') no-repeat center;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 0 L12 8 L4 16 Z"/></svg>') no-repeat center;
    mask-size: contain;
    -webkit-mask-size: contain;
    transition: transform 0.3s ease; /* Smooth rotation */
}

.toggle-icon.down {
    transform: rotate(90deg); /* Rotate to create "downward" arrow */
}

.menu-item {
    position: relative; /* For the pseudo-element */
    margin-bottom: 10px;
}

.menu-item::after {
    content: ''; /* Empty content for the line */
    position: absolute;
    bottom: -5px; /* Position below the item */
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #ccc; /* Light gray color for the line */
    opacity: 0.6; /* Slight transparency for aesthetics */
}

.submenu {
    display: none;
    list-style: none;
    padding-left: 20px;
    margin: 0;
	text-align: left;
	margin-left: 10px;
}

.submenu-open {
    display: block;
}

.submenu li {
    margin: 5px 0;
}

.submenu li a {
    text-decoration: none;
    color: #007bff;
}

.submenu li a:hover {
    text-decoration: underline;
}

.menu-open-trigger {
    font-size: 34px;
    cursor: pointer;
}


.modal-backdrop {
	z-index: 3000 !important;
}
.modal {
	z-index: 3001 !important;
}


.main-carousel {
	width:98%;
	margin: 1%;
	padding: 3px;
}

.main-carousel img {
	border-radius: 5px;
}

.carousel-indicators {
	top: 90%;
}

.modal-dialog {
	max-width: 430px;
	margin: 0 auto;
}

.form-label {
	font-weight: bold;
	font-size: 15px;
}

/*usage on: verify page; */
#countdown-timer {
    font-size: 1em;
}

.default-alert {
	font-size: 0.85em;
}

.note {
	font-size: 0.8em;
	color: gray;
	line-height: 1.3em;
}

.fade-line {
	color: lightgray;
}

/* wallet page merchant map*/
#map-container {
	height: 150px;
	margin-bottom: 20px;
}

#map {
	height: 150px;
	width: 100%;
}
.custom-font-weight-bold {
	font-weight: bold!important;
}
	
.separator {
	padding-left: 0.3rem!important;
	padding-right: 0.3rem!important;
}

.copyright {
	font-size: 0.65em;
}


#timer {
    display: inline-block;
    margin-left: 2px; /* Add space between the error message and timer */
}
