@import url("https://fonts.googleapis.com/css?family=Poppins:400,500,600&display=swap");
body {
  background-color: #ffffff;
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
}
/* Header */
header {
  border-radius: 12px;
  background: #fff;
  border-bottom: 1px solid lightgray;
}

.page-title {
  letter-spacing: 1px;
}

.back-btn i,
.notification-btn i {
  transition: 0.3s ease;
}

.back-btn i:hover,
.notification-btn i:hover {
  color: #007bff;
  transform: scale(1.1);
}

/* Navbar */
.navbar-custom {
  background: #6236ff;
  color: #fff;
  padding: 5px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-custom i {
  font-size: 22px;
  cursor: pointer;
}
.navbar-custom .left-icons {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-right: 15px;
}
.navbar-custom .right-icons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.profile-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #6236ff;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.profile-img:hover {
  transform: scale(1.1);
}

/* Sidebar (Modern Style) */
/* Sidebar (Modern Style) */
#sidebarMenu {
  position: fixed;
  top: 0;
  left: -270px;
  width: 270px;
  height: 100%;
  background: #fff;
  color: #000;
  transition: all 0.3s ease;
  z-index: 1050;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}
#sidebarMenu.active {
  left: 0;
}

/* Sidebar close icon */
.close-sidebar-icon {
  color: #000000;
  font-size: 20px;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.close-sidebar-icon:hover {
  transform: scale(1.2);
}

/* User info */
.sidebar-header {
  background: #ffffff;
  color: #000000;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  display: flex;
  align-items: center;
  padding: 10px 15px;
}
.sidebar-user-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
}

/* Level section */
.sidebar-level {
  background: #6236ff;
  color: #fff;
  width: 100%;
}

/* Menu */
.sidebar-menu {
  margin-top: 20px;
}
.sidebar-menu .menu-title {
  font-size: 11px;
  font-weight: 600;
  color: #888;
  margin-bottom: 5px;
}

/* List reset */
.sidebar-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Anchor-based menu */
.sidebar-menu ul li {
  border-bottom: 1px solid #f1f1f1;
}

.sidebar-menu ul li .menu-link {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 20px;
  color: #333;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.sidebar-menu ul li .menu-link:hover {
  background: #f3f0ff;
}

.sidebar-menu ul li .menu-link i {
  background: #6236ff;
  color: #fff;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.sidebar-menu ul li .menu-link span {
  font-size: 15px;
  font-weight: 500;
}


/* Overlay (for closing sidebar) */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1049;
}
.overlay.active {
  display: block;
}

/* Message & Notification Panels */
.slide-panel {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  z-index: 1050;
  padding-top: 60px;
}
.slide-panel.active {
  right: 0;
}
.slide-panel h6 {
  text-align: center;
  font-weight: 600;
  margin-bottom: 10px;
  color: #6236ff;
}
.panel-content {
  padding: 10px 15px;
}

/* Income Section */
.income-box {
  background: #fff;
  color: #000;
  border-radius: 10px 10px 0px 0px;
  padding: 15px 15px 5px;
  margin: 0px 15px;
  position: relative;
  z-index: 2;
}

.wallet-card-section {
  background: #6236ff;
  padding: 0;
  margin: 0;
  border: none;
  box-shadow: none;
}

.income-box h6 {
  font-size: 12px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 12px;
}

.income-box h3 {
  font-weight: 700;
  margin-bottom: 0;
  font-size: 18px;
}

.bottom-icons-section{
    background: #ffffff;
    border-radius: 0px 0px 10px 10px;
    padding: 0px 12px 12px 12px; 
    margin: 0px 15px 6px;
    position: relative;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.09);
}

/* Action Buttons */
.btn-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: white;
  font-size: 22px;
}
.btn-icon i {
  pointer-events: none;
  font-size: 26px;
}
.withdraw {
  background: #FF396F;
}
.deposit {
  background: #6236FF;
}
.wallet {
  background: #1DCC70;
}
.reward {
  background: #FFB400;
}
.icon-text {
  font-size: 11px;
  font-weight: 400;
  color: #27173E;
}

/* Quick Nav */
.nav-section {
  background: #6236ff;
  padding: 5px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  color: white;
  border-radius: 12px;
  margin: 0px 15px;
}

.nav-section .nav-item {
  text-align: center;
  cursor: pointer;
  background: white;
  padding: 2px 0px;
  border-radius: 10px;
  width: 65px;
  height: 65px;
  color: #000;
  transition: 0.3s;
}

.nav-section .nav-item:hover {
  background: #ede9fe;
  transform: scale(1.05);
}

.nav-section .nav-item img {
    display: block;
    margin: 0px 4px 0px;
    width: 55px;
    height: 47px;
}

.nav-section .nav-item small {
  color: #000;
  font-weight: 400;
  display: block;
  font-size: 10px;
  margin-top: 0px;
}
/* Banner */
.banner {
  border-radius: 12px;
  margin: 5px 15px;
  height: auto;
  position: relative;
}

/* Transactions */
.transactions {
  background: white;
  border-radius: 12px;
  padding: 3px 15px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

/* Bottom Navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 0;
  z-index: 1000;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.15);
}

.bottom-nav .nav-link {
  color: #000000;
  text-align: center;
  font-size: 13px;
  flex: 1;
  text-decoration: none;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.bottom-nav .home {
  color: #4caf50;
  font-size: 24px;
  text-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}
.bottom-nav .about {
  color: #2196f3;
  font-size: 24px;
  text-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}
.bottom-nav .app {
  color: #ff9800;
  font-size: 24px;
  text-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}
.bottom-nav .level {
  color: #9c27b0;
  font-size: 24px;
  text-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}
.bottom-nav .settings {
  color: #f44336;
  font-size: 24px;
  text-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}
.bottom-nav .nav-link i {
  font-size: 20px;
  margin-bottom: 3px;
}

.bottom-nav .nav-link.active,
.bottom-nav .nav-link:hover {
  color: #6236ff;
}

.copy-link-box input {
    border-radius: 20px;
    border: 1px solid #6236ff;
    font-size: 12px;
    line-height: 25px;
}
.btn-copy {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  background: #f433ff;
  color: white;
  border: none;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 10px;
  transition: 0.3s;
  font-weight: bold;
}

.btn-copy:hover {
  background: #6d28d9;
}

.toast {
  display: none;
  position: fixed;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  background: #28a745;
  color: #fff;
  padding: 20px 14px;
  border-radius: 6px;
  z-index: 9999;
  font-size: 1em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .bottom-nav .nav-link i {
    font-size: 20px;
  }
  .bottom-nav .nav-link span {
    font-size: 11px;
  }
}

@media (min-width: 992px) {
  .banner {
    height: auto;
  }
}
