* {
	padding: 0;
	margin: 0%;
	box-sizing: border-box;
	font-family: "Poppins", sans-serif;
}
:root {
	--reef: #333333;
	--orange: #333333;
	--light: #F6F7FB;
	--black: black;
	--bg-color: #f6f7fb;
	--bg-form: #efefef;
}

.dashboard {
	padding: 3%;
	position: relative;
}
body.dark-mode {
	background-color: black;
	color: #F6F7FB;
	--black: white;
	--light: black;
	--bg-color: #292929;
	--bg-form: #292929;
}

/* Updated header styles */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    margin-bottom: 20px;
    width: 100%;
}

/* Left section containing profile image */
header .left-section {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1; /* Allow it to take available space */
    min-width: 0; /* Prevent overflow */
}

/* Profile image styling */
header .left-section img {
    width: 60px; /* Better size for mobile */
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #f0f0f0;
    padding: 0; /* Remove padding */
    border: 2px solid #e0e0e0; /* Optional subtle border */
    margin-right: 10px;
}

/* Profile text details */
header .left-section .profile-details {
    min-width: 0; /* Allows text to truncate properly */
}

header .left-section .profile-details h5 {
    font-weight: 500; /* Slightly bolder */
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

header .left-section .profile-details h4 {
    font-weight: bold;
    font-size: 14px;
    margin: 3px 0;
}

header .left-section .profile-details .who {
    padding: 3px 8px;
    background-color: var(--bg-color);
    border-radius: 20px;
    text-align: center;
    display: inline-block;
    font-size: 12px;
}

/* Right section adjustments */
header .right-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    header {
        padding: 12px 15px;
    }
    
    header .left-section img {
        width: 50px;
        height: 50px;
    }
    
    header .left-section .profile-details h5 {
        font-size: 14px;
    }
    
    header .left-section .profile-details h4 {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    header .left-section {
        gap: 10px;
    }
    
    header .left-section img {
        width: 45px;
        height: 45px;
    }
    
    /* Hide less important elements on very small screens */
    header .right-section {
        display: none;
    }
}

/* account  */
.slideshow-container {
	width: 100%;
	overflow: hidden;
	position: relative;
}

.slideshow-container .account-slideshow,
.slideshow-container .wallet-slideshow {
	display: flex;
	transition: transform 0.5s ease-in-out;

	width: 100%;
}

.slideshow-container .slide {
	min-width: 90%;
	margin-right: 5%;
	box-sizing: border-box;
	background-color: var(--reef);
	padding: 20px;
	border-radius: 18px;
	color: #F6F7FB;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.wallet-slideshow .slide {
	min-width: 100%;
	width: 100%;
}
.slideshow-container .account-slideshow .slide:nth-child(2) {
	background-color: var(--orange);
	min-width: 100%;
}
.slideshow-container .slide button {
	border: none;
	padding: 7px;
	background-color: white;
	border-radius: 13px;
	cursor: pointer;
}

.account .dots,
.wallet .dots {
	text-align: center;
	/* position: absolute; */
	bottom: 10px;
	width: 100%;
}

.account .dot,
.wallet .dot {
	height: 7px;
	width: 7px;
	margin: 0 5px;
	background-color: #bbb;
	border-radius: 50%;
	display: inline-block;
	cursor: pointer;
}

.account .dot.active,
.wallet .dot.active {
	background-color: var(--orange);
}

.wallet-balance {
	margin-top: 10px;
	background-color: var(--reef);
	padding: 3%;
	color: white;
	text-align: center;
	border-radius: 20px;
	width: 100%;
}
.wallet-balance .balance-title {
	font-size: 1.3rem;
	font-weight: bold;
	margin-bottom: 5px;
	display: flex;
	align-items: center;
	gap: 10px;
	justify-content: center;
}

.wallet-balance .balance-title img {
	width: 15%;
}
.wallet-balance .balance-amount {
	font-size: 1.7rem;
	font-weight: bold;
	margin-bottom: 10px;
}
.wallet-balance button {
	padding: 3%;
	border-radius: 18px;
	font-weight: bold;
	border: none;
	width: 60%;
	background-color: white;
	margin-bottom: 15px;
	display: flex;
	align-items: center;
	gap: 10px;
	justify-content: center;
	margin: auto;
	cursor: pointer;
}
.wallet-balance button img {
	width: 10%;
}

.features {
	margin-top: 15px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	align-items: center;
	justify-content: center;
	background-color: var(--bg-color);
	border-radius: 12px;
	padding: 10px;
	gap: 10px;
}
.features a img {
	width: 40%;
}
.features a {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.features a,
.marketplace .box a {
	text-decoration: none;
	color: var(--black);
	text-align: center;
	transition: 400ms ease-in-out;
}
.features a span,
.marketplace a span {
	font-size: 10px;
}
.marketplace {
	margin-top: 15px;
	position: relative;

}
.marketplace .title {
	margin-left: 20px;
	margin-bottom: 15px;
}
.marketplace .title::before {
	content: "";
	position: absolute;
	top: 10%;
	width: 0;
	height: 0;
	border-top: 10px solid transparent;
	border-right: 20px solid var(--bg-color);
	border-bottom: 10px solid transparent;
	transform: rotate(90deg);
}

.marketplace .box {
	display: grid;
	align-items: center;
	justify-content: center;
	text-align: center;
	grid-template-columns: repeat(4, 1fr);
	padding: 15px;
	background-color: var(--bg-color);
	border-radius: 12px;
	gap: 10px;
	margin-bottom: 15px;
}
.marketplace .box a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
.marketplace .box a img {
	color: black;
	background-color: white;
	padding: 10px;
	border-radius: 50%;
	width: 50%;
}
.marketplace .box a:hover,
.features a:hover {
	text-decoration: none;
	color: white;
	font-weight: bold;
	transition: 400ms ease-in-out;
}
.marketplace .box a:hover img,
.features a:hover img {
	transform: scale(0.8);
	transition: 400ms ease-in-out;
}

footer {
	display: flex;
	width: 100%;
	border-top: 2px solid #fff;
	border-left: none;
	border-right: none;
	border-bottom: none;
	align-items: center;
	justify-content: space-between;
	padding: 20px 20px 30px 20px;
	background-color: #F6F7FB;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	gap: 10px;
	border-radius: 14px 14px 0 0;
}

footer a {
	text-decoration: none;
	color: #333333;
	text-align: center;
	transition: 400ms ease-in-out;
	/* display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px; */
}
footer a span {
	font-size: 10px;
}

footer .footer-item.active {
	background-color: #333333;
	color: #ffffff;
	border: 3px solid #ffffff;
	border-radius: 100%;
	padding: 0px;
	margin-top: -80px;
	width: 50px;
	height: 50px;
	display:flex;
	align-items:center;
	justify-content: center;
	flex-direction:column;
}
.dark-mode .features .feature img.light-mode-image {
	display: none;
}

.dark-mode .features .feature img.dark-mode-image {
	display: inline-block;
}

.features .feature img.dark-mode-image {
	display: none;
}

.features .feature img.light-mode-image {
	display: inline-block;
}
.dark-mode .right-section .light-mode-image {
	display: none;
}

.dark-mode .right-section .dark-mode-image {
	display: inline-block;
}

.right-section .dark-mode-image {
	display: none;
}
.right-section .light-mode-image {
	display: inline-block;
}

.sidebar {
	position: fixed;
	top: 0;
	left: -300px; /* Initially hidden */
	width: 300px;
	height:100vh;
	overflow-y:scroll;
	background-color: var(--reef);
	color: white;
	padding: 10px;
	transition: right 0.3s ease-in-out;
	z-index: 9999999;
}

.sidebar.show {
	left: 0; /* Visible when the class "show" is added */
}

.sidebar-content {
	display: flex;
	flex-direction: column;
	gap: 10px;
	height:fit-content;
	overflow-y:scroll;
}

.sidebar-content a {
	color: white;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 5px;
	padding: 5px;
	transition: 400ms ease-in-out;
}
.sidebar-content a img {
	width: 10%;
}
.sidebar-content a.active {
	background-color: white;
	color: black;
	border-radius: 18px;
}
.sidebar-content a:hover {
	background-color: white;
	color: black;
	border-radius: 18px;
}
.sidebar-close {
	position: absolute;
	top: 10px;
	right: 10px;
	background-color: transparent;
	border: none;
	color: var(--light);
	font-size: 20px;
	cursor: pointer;
}
.sidebar-content a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 5px;
	text-decoration: none;
	color: white;
	border-radius: 18px;
}

.sidebar-content a.active,
.sidebar-content a:hover {
	background-color: white;
	color: black;
}

.sidebar-content a .default-image {
	display: inline-block;
}

.sidebar-content a .hover-image {
	display: none;
}

.sidebar-content a.active .default-image,
.sidebar-content a:hover .default-image {
	display: none;
}

.sidebar-content a.active .hover-image,
.sidebar-content a:hover .hover-image {
	display: inline-block;
}
.sidebar .logo {
	display: none;
}

/* media query to eliminate the footer and show the sidebar  */
@media (min-width: 768px) {
	footer {
		display: none;
	}

	body {
		display: flex;
		height: 100vh;
		padding: 0;
		overflow: hidden;
	}

	.sidebar {
		position: static;
		max-width: 300px;
		width:100%;
		height: 100vh;
		left: 0;
		transition: none;
	}

	.sidebar .logo {
		display: block;
	}
	.sidebar-content {
	
	
			height:fit-content;
				overflow-y: auto;
	}
	.sidebar-close {
		display: none;
	}

	.content-area {
		flex-grow: 1;
		padding: 0px;
		overflow: auto;
	}

	header,
	.account,
	.wallet,
	.features,
	.marketplace {
		/*max-width: 800px;*/
		width: 90%;
		margin: 0 auto;
	}
}
/* media query for the slidehow in desktop view  */
@media (min-width: 768px) {
    .dashbord{
        padding: 1%;
    }
	.slideshow-container {
		display: flex;
		justify-content: space-between;
		gap: 20px;
	}

	.slideshow-container > section {
		flex-basis: 50%;
	}

	.account,
	.wallet {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		margin-bottom: 20px;
	}

	.account-slideshow,
	.wallet-slideshow {
		display: grid !important;
		transform: none !important;
		transition: none !important;
		grid-template-columns: 1fr 1fr;
		gap: 20px;
	}

	.account-slideshow .slide,
	.wallet-slideshow .slide {
		min-width: auto !important;
		margin-right: 0 !important;
	}

	.account .dots,
	.wallet .dots {
		display: none;
	}
}
/* media query to resize font e.t.c  */
@media (min-width: 768px) {
	.content-area header .left-section img {
	}
	.content-area header .left-section .profile-details h5 {
		font-weight: 400;
	}
	.content-area header .left-section .profile-details h4 {
		font-weight: 300;
	}
	.content-area header .left-section .profile-details .who {
		font-size: 0.8rem;
	}
	.content-area header .right-section img {
		width: 15%;
		cursor: pointer;
	}
	.features a img {
		width: 20%;
	}
	.marketplace {
		margin-top: 30px;
	}
	.marketplace .box {
		grid-template-columns: repeat(5, 1fr);
	}
	.marketplace .box a img {
		width: 30%;
	}
}

/* fundwallet style  */
.content-area.fundwallet {
	/* height: 70vh; */
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

.head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	background-color: #F6F7FB;
	position: sticky;
	top: 0;
	left: 0%;
	right: 0%;
	padding: 4%;
	color: #333333;
	z-index: 1000000;
}
.head .logo {
	flex: 4;
}
.head .logo-icon {
	display: none;
}

.head .other-content {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 20px;
	flex: 4;
}
.head .other-content img{
	width: 15%;
}
.head .other-content i {
	font-size: 1.3rem;
	color: #333333;
}
.form {
	background-color: var(--bg-form);
	width: 95%;
	padding: 20px;
	border-radius: 18px;
	margin-top: 20px;
}
.form h1 {
	color: var(--black);
	margin-bottom: 20px;
}
.login {
	margin: 0 auto;
	max-width: 400px;
}

.login__field {
	padding: 20px 0px;
	margin-top: -20px;
	position: relative;
}

.login__field i {
	position: absolute;
	top: 30px;
	color: var(--orange);
}

.login__field option {
	background-color: var(--light);
	color: var(--black);
}

.login__input {
	border: none;
	border-bottom: 2px solid #d1d1d4;
	background: none;
	padding: 10px;
	padding-left: 24px;
	font-weight: 700;
	width: 100%;
	color: var(--black);
	transition: 0.2s;
	margin: auto;
}
.login__input::placeholder {
	color: var(--black);
}

.login__input:active,
.login__input:focus,
.login__input:hover {
	outline: none;
	border-bottom-color: var(--orange);
}

.login__submit {
	background: var(--orange);
	font-size: 14px;
	margin: auto;
	padding: 10px 12px;
	border-radius: 12px;
	border: 1px solid var(--reef);
	text-transform: uppercase;
	font-weight: 700;
	display: flex;
	align-items: center;
	width: 70%;
	color: #fff;
	box-shadow: 0px 2px 2px var(--reef);
	cursor: pointer;
	transition: 0.2s;
	text-align: center;
	justify-content: center;
}

.login__submit:active,
.login__submit:focus,
.login__submit:hover {
	border-color: var(--orange);
	outline: none;
}
#menu {
	display: none;
}

@media (min-width: 768px) {
	.content-area.fundwallet {
		position: relative;
		display: block;
	}
	.head {
		padding: 2%;
		border-left: 2px solid white;
	}
	.form {
		margin: 20px auto;

		width: 60%;
	}
	.head .other-content img,
	.head .other-content .dropdown .dropdown-trigger img {
		width: 10%;
	}
	#menu {
		cursor: pointer;
		font-size: 1.3rem;
		display: inline-block;
		margin-right: 20px;
	}
}

.dropdown {
	position: relative;
	display: inline-block;
}

.dropdown-trigger {
	cursor: pointer;
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 7px;
}

.dropdown-content {
	display: none;
	position: absolute;
	background-color: #f1f1f1;
	min-width: 160px;
	right: 0;
	box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
	z-index: 1000;
	transition: 400ms ease-in-out;
	top: 35px;
}
.dropdown-content.show {
	display: block;
}
.dropdown-content.show::before {
	content: "";
	position: absolute;
	top: -5%;
	right: 0%;
	width: 0;
	height: 0;
	border-top: 5px solid transparent;
	border-right: 10px solid #f1f1f1;
	border-bottom: 5px solid transparent;
	transform: rotate(90deg);
	z-index: -1;
}
.dropdown-content a {
	color: #000000;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
	font-size: 14px
}
.dropdown-content a i {
	color: #333333 !important;
}

.dropdown-content a:hover {
	background-color: #ddd;
}
/* 
.dropdown:hover .dropdown-content {
	display: block;
} */
/* table  */
.transactional-history {
	padding: 4%;
}
.transactional-history h1 {
	font-size: 1rem;
	color: var(--black);
	text-transform: capitalize;
	margin-bottom: 20px;
}
.transactional-history table {
	width: 100%;
	border-collapse: collapse;
	font-family: Arial, sans-serif;
}

.transactional-history th,
.transactional-history td {
	padding: 10px;
	text-align: left;
	border-bottom: 1px solid #ddd;
}

.transactional-history th {
	background-color: var(--orange);
	color: var(--black);
}

.transactional-history tr:hover {
	background-color: var(--bg-color);
}
.transactional-history .success {
	background-color: green;
	color: white;
	padding: 5px;
	border-radius: 12px;
	font-size: 0.7rem;
}
.transactional-history .pending {
	background-color: yellow;
	color: black;
	padding: 5px;
	border-radius: 12px;
	font-size: 0.7rem;
}
.transactional-history .failed {
	background-color: red;
	color: white;
	padding: 5px;
	border-radius: 12px;
	font-size: 0.7rem;
}
@media (max-width: 768px) {
	.transactional-history {
		font-size: 10px;
	}
	.transactional-history .pending,
	.transactional-history .failed,
	.transactional-history .success {
		font-size: 10px;
	}
	.head .logo-icon {
		display: block;
	}
}
.search {
	flex: 4;
}
.search input {
	border: none;
	background-color: var(--bg-color);
	padding: 10px;
	border-radius: 18px;
	width: 100%;
}
@media (max-width: 768px) {
	.search{
		display: none;
	}
}

/*.slideshow-container-ad {*/
/*	width: 300px;*/
	/*overflow: hidden;*/
/*	position: relative;*/
/*		margin-bottom: 100px;*/
/*		margin: auto auto 100px auto;*/
		
	/* background-color: red; */
/*}*/

/*.slideshow-container-ad .slideshow-ad {*/
/*	display: flex;*/
/*	transition: transform 0.5s ease-in-out;*/
/*	width: 100%;*/
/*}*/

/*.slideshow-container-ad .slide-ad {*/
/*	min-width: 100%;*/
/*	margin-right: 5%;*/
/*	box-sizing: border-box;*/
/*}*/

/*.slideshow-container-ad .slide-ad img {*/
/*	width: 300px;*/
/*	display: block;*/
/*	border-radius: 8px;*/
/*	height: 119px;*/
/*}*/
/*.slideshow-container-ad .dots {*/
/*	text-align: center;*/
/*	position: absolute;*/
/*	bottom: -25px;*/
/*	width: 100%;*/
/*}*/

/*.slideshow-container-ad .dot-ad {*/
/*	height: 8px;*/
/*	width: 8px;*/
/*	margin: 0 5px;*/
/*	background-color: #bbb;*/
/*	border-radius: 50%;*/
/*	display: inline-block;*/
/*	cursor: pointer;*/
/*}*/

/*.slideshow-container-ad .dot-ad.active {*/
/*	background-color: var(--orange);*/
/*}*/
::-webkit-scrollbar {
	width: 5px; /* Width of the scroll bar */
}

::-webkit-scrollbar-track {
	background-color: #f1f1f1; /* Color of the track (area behind the scroll thumb) */
}

::-webkit-scrollbar-thumb {
	background-color: var(--bg-form); /* Color of the scroll thumb */
	border-radius: 6px; /* Rounded corners of the scroll thumb */
}

::-webkit-scrollbar-thumb:hover {
	background-color: #e68400; /* Color of the scroll thumb on hover */
}
@media (max-width: 768px) {
.copyright{
    display: none;
}
}