/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: linear-gradient(145deg, #1b4726, #0d1e15);
  color: #e0ffe0;
  position: relative;
  overflow-x: hidden;
}

.background-shapes {
  position: fixed;
  top: -100px;
  left: -100px;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 20% 20%, rgba(0,255,0,0.08) 0%, transparent 60%),
              radial-gradient(circle at 80% 80%, rgba(0,255,0,0.06) 0%, transparent 60%);
  z-index: -1;
  filter: blur(50px);
}

.app {
  display: flex;
}

/* Sidebar styles */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 100vh;
  background: linear-gradient(160deg, #101010, #1e1e1e);
  color: #aaffaa;
  padding: 30px 22px;
  transition: transform 0.3s ease;
  z-index: 1000;
  overflow-y: auto;
  box-shadow: 6px 0 30px rgba(0, 0, 0, 0.7);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  border-radius: 0 24px 24px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar.closed {
  transform: translateX(-100%);
}

/* Logo Section */
.sidebar .logo {
  font-size: 1.8rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #aaffaa;
  letter-spacing: 1px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(170, 255, 170, 0.15);
  position: relative;
}

.sidebar .logo::before {
  content: "✦";
  color: #aaffaa;
  font-size: 1.2rem;
  margin-right: 8px;
}

/* Close Button */
#closeSidebar {
  background: none;
  border: none;
  color: #aaffaa;
  font-size: 22px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 10px;
}

#closeSidebar:hover {
  transform: rotate(180deg);
  background: rgba(170, 255, 170, 0.08);
}

/* Decorative Line (glow effect) */
.sidebar .glow-line {
  height: 1px;
  background: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(170, 255, 170, 0.3), rgba(0, 0, 0, 0));
  margin: 10px 0;
  border: none;
  opacity: 0.8;
  box-shadow: 0 0 8px rgba(170, 255, 170, 0.15);
}

/* Subtle divider for sections */
.sidebar .section-line {
  height: 1px;
  background-color: rgba(170, 255, 170, 0.1);
  margin: 16px 0 8px;
  border: none;
}

/* Section Titles */
.sidebar .section-title {
  font-size: 0.8rem;
  color: #88cc88;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
  padding-left: 6px;
  opacity: 0.7;
}

/* Navigation */
.sidebar  ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar  ul li {
  padding: 14px 18px;
  margin: 8px 0;
  border-radius: 14px;
  transition: background 0.3s ease, padding-left 0.3s ease;
  font-weight: 500;
  color: #e0ffe0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar  ul li:hover {
  background-color: rgba(170, 255, 170, 0.1);
  padding-left: 24px;
  cursor: pointer;
  color: #ffffff;
}

/* Optional icon */
.sidebar  ul li::before {
  content: "➤";
  color: #aaffaa;
  font-size: 12px;
  margin-right: 6px;
}.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 270px;
  height: 100vh;
  background: rgba(15, 15, 15, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 8px 0 25px rgba(0, 0, 0, 0.6);
  border-radius: 0 22px 22px 0;
  padding: 30px 22px;
  color: #aaffaa;
  transition: transform 0.3s ease;
  z-index: 1000;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.sidebar.closed {
  transform: translateX(-100%);
}

/* Logo Header */
.sidebar .logo {
  font-size: 1.9rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: 1.2px;
  color: #d2ffd2;
  padding-bottom: 14px;
  position: relative;
  border-bottom: 1px solid rgba(170, 255, 170, 0.15);
}

.sidebar .logo::before {
  content: "✸";
  font-size: 1.3rem;
  margin-right: 8px;
  color: #aaffaa;
}

/* Close Button – Stylish */
#closeSidebar {
  background: rgba(170, 255, 170, 0.05);
  border: none;
  color: #aaffaa;
  font-size: 1.3rem;
  cursor: pointer;
  border-radius: 12px;
  padding: 6px 10px;
  transition: transform 0.2s ease, background 0.3s;
}

#closeSidebar:hover {
  transform: rotate(180deg);
  background: rgba(170, 255, 170, 0.15);
}

/* Section Title */
.sidebar .section-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #88cc88;
  margin: 12px 0 6px;
  padding-left: 6px;
  opacity: 0.7;
}

/* Glow Divider */
.sidebar .glow-line {
  height: 1px;
  background: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(170, 255, 170, 0.35), rgba(0, 0, 0, 0));
  margin: 10px 0;
  border: none;
  opacity: 0.9;
  box-shadow: 0 0 10px rgba(170, 255, 170, 0.1);
}

/* Light Divider */
.sidebar .section-line {
  height: 1px;
  background-color: rgba(170, 255, 170, 0.1);
  margin: 18px 0 10px;
  border: none;
}

/* Navigation List */
.sidebar  ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar  ul li {
  padding: 14px 18px;
  margin: 6px 0;
  border-radius: 14px;
  transition: background 0.3s ease, padding-left 0.3s ease, color 0.3s;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #dfffe0;
}

.sidebar  ul li:hover {
  background-color: rgba(170, 255, 170, 0.1);
  padding-left: 24px;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 0 6px rgba(170, 255, 170, 0.1);
}

/* Icon Bullet */
.sidebar  ul li::before {
  content: "⟡";
  font-size: 0.8rem;
  color: #aaffaa;
  margin-right: 4px;
  transition: transform 0.3s ease;
}

.sidebar  ul li:hover::before {
  transform: scale(1.3);
}

/* Responsive Scroll Enhancer */
.sidebar::-webkit-scrollbar {
  width: 6px;
}
.sidebar::-webkit-scrollbar-track {
  background: transparent;
}
.sidebar::-webkit-scrollbar-thumb {
  background: rgba(170, 255, 170, 0.2);
  border-radius: 10px;
}

/* Optional Footer or Version Display */
.sidebar .footer {
  margin-top: auto;
  font-size: 0.7rem;
  text-align: center;
  opacity: 0.5;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Common -item class */
.-item {
  padding: 14px 18px;
  margin: 6px 0;
  border-radius: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #dfffe0;
  transition: background 0.3s ease, padding-left 0.3s ease, color 0.3s, transform 0.15s;
  position: relative;
}

/* Hover effect only if not active */
.-item:hover:not(.active) {
  background-color: rgba(170, 255, 170, 0.1);
  padding-left: 24px;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 0 6px rgba(170, 255, 170, 0.1);
}

/* Active state -- permanent highlight */
.-item.active {
  background-color: rgba(170, 255, 170, 0.15);
  padding-left: 24px;
  color: #ffffff;
  box-shadow: inset 0 0 12px rgba(170, 255, 170, 0.2);
}

/* Click ripple animation */
.-item::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  background: rgba(170, 255, 170, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, opacity 0.4s ease;
  z-index: 0;
}

.-item.clicked::after {
  width: 200%;
  height: 500%;
  opacity: 0;
}
/* Main content styles */




main {
  flex: 1;
  margin-left: 0px;
  padding: 20px;
  transition: margin-left 0.3s ease;
}

.sidebar.closed + main {
  margin-left: 0;
}

.main-header {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  height: 60px;
  background: linear-gradient(135deg, #004d00, #001f00);
  padding: 0 12px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 10;
  border-radius: 0 0 16px 16px;
}

/* LEFT */
.header-left {
  display: flex;
  justify-content: center;
  align-items: center;
}

#toggleSidebar {
  font-size: 22px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* CENTER */
.header-center {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.header-logo {
  height: 32px;
  width: 32px;
  border-radius: 6px;
  object-fit: cover;
}

.site-name {
  color: white;
  font-weight: bold;
  font-size: 18px;
  white-space: nowrap;
}

/* RIGHT */
.header-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.profile-container {
  position: relative;
}

.profile-button {
  height: 38px;
  width: 38px;
  border-radius: 50%;
  object-fit: cover;
  cursor: pointer;
}

/* Dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 45px;
  right: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 999;
}

.dropdown-menu button {
  background: none;
  border: none;
  padding: 10px 20px;
  color: red;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

.profile-container.active .dropdown-menu {
  display: block;
}

/* Responsive */
@media (max-width: 480px) {
  .main-header {
    grid-template-columns: 42px 1fr 42px;
    height: 54px;
    padding: 0 8px;
  }

  .header-logo {
    height: 24px;
    width: 24px;
  }

  .site-name {
    font-size: 16px;
  }

  .profile-button {
    height: 34px;
    width: 34px;
  }

  .dropdown-menu {
    top: 40px;
  }
}
.dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.box {
  background: linear-gradient(135deg, rgba(0, 255, 0, 0.1), rgba(0, 0, 0, 0.7));
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,255,0,0.1);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #e0ffe0;
}
/* Profile Circle with Border */
.profile-pic {
  border: 4px solid #4e8c61; /* Bright green border */
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  box-shadow: 0 0 10px rgba(78, 140, 97, 0.6);
  object-fit: cover;
}
.box h3 {
  background: rgba(0, 255, 0, 0.08);
  padding: 10px 15px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: bold;
  color: #baffba;
}

.box p {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 0;
  font-size: 0.95rem;
}

.logout button {
  width: 100%;
  padding: 10px;
  background-color: #2e7d32;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

.wallet-buttons .btn-green {
  background: linear-gradient(to right, #43a047, #66bb6a);
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: bold;
  border: none;
  cursor: pointer;
}

.wallet-buttons .btn-blue {
  background: linear-gradient(to right, #1e88e5, #42a5f5);
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: bold;
  border: none;
  cursor: pointer;
}

.wallet-buttons button,
.pending-balance button,
.referral-box button,
.crypto-address button {
  background: linear-gradient(135deg, #2efb74 0%, #0d0d0d 100%);
  color: white;
  padding: 10px 20px;
  font-size: 14px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(46, 251, 116, 0.4);
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wallet-buttons button:hover,
.pending-balance button:hover,
.referral-box button:hover,
.crypto-address button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(46, 251, 116, 0.6);
}

  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(46, 251, 116, 0.4);
}

.wallet-buttons button:hover,
.pending-balance button:hover,
.referral-box button:hover,
.crypto-address button:hover {
  transform: scale(10);
  box-shadow: 0 4px 5px rgba(46, 251, 116, 0.6);
}
.referral-box input,
.deposit-form input {
  width: 100%;
  padding: 10px;
  border: 1px solid #666;
  border-radius: 8px;
  background: rgba(0,0,0,0.2);
  color: #e0ffe0;
}

.-shortcuts button {
  background: rgba(0, 255, 0, 0.05);
  border: 1px solid #555;
  color: #aaffaa;
}

.-shortcuts button {
  background: linear-gradient(135deg, rgba(46, 251, 116, 0.08), rgba(0, 0, 0, 0.3));
  border: 1px solid rgba(46, 251, 116, 0.2);
  color: #baffba;
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
  backdrop-filter: blur(6px);
}

.-shortcuts button:hover {
  background: linear-gradient(135deg, rgba(46, 251, 116, 0.15), rgba(10, 10, 10, 0.6));
  box-shadow: 0 0 8px rgba(46, 251, 116, 0.4);
  transform: scale(1.03);
}

/* Profile box styling refinement */
.profile-box .box {
  background: linear-gradient(135deg, rgba(40, 255, 100, 0.1), rgba(20, 20, 20, 0.6));
  padding: 24px;
  border-radius: 18px;
  box-shadow: 0 4px 14px rgba(46, 251, 116, 0.15);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.profile-box .box h2 {
  font-size: 1.5rem;
  color: #c2ffcc;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 8px;
}

.profile-box .box p {
  font-size: 1rem;
  padding: 6px 0;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  color: #d4ffd4;
}

.profile-box .box p span {
  font-weight: 600;
  color: #aaffaa;
}

/* === Deposit Form === */
.deposit-container {
  background: linear-gradient(135deg, rgba(40, 255, 100, 0.08), rgba(10, 10, 10, 0.6));
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(46, 251, 116, 0.1);
  backdrop-filter: blur(6px);
  color: #e0ffe0;
  max-width: 500px;
  margin: 40px auto;
}

.deposit-form-box {
  margin-top: 20px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* QR Code Container */
.qr-container {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid rgba(46, 251, 116, 0.4);
  overflow: hidden;
  margin: 0 auto 20px; /* Added space below the QR box */
}

.qr-container img {
  width: 100%;
  height: 100%;
}

/* Copyable Address Box */
.copyable-address {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 2px solid rgba(46, 251, 116, 0.4);
  border-radius: 10px;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.3);
  margin-bottom: 20px; /* Added space below the copy box */
}

.copyable-address input {
  border: none;
  background: transparent;
  color: #e0ffe0;
  width: 100%;
  font-size: 1rem;
  padding: 8px;
  outline: none;
  border-radius: 8px;
  cursor: not-allowed;
}

.copyable-address button {
  background: linear-gradient(135deg, #2efb74, #0d0d0d);
  color: white;
  padding: 8px 14px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(46, 251, 116, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.copyable-address button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(46, 251, 116, 0.5);
}

/* Deposit Form */
.deposit-form h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
  color: #baffba;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 10px;
}

.deposit-form form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.deposit-form input {
  padding: 12px;
  border: 1px solid rgba(46, 251, 116, 0.3);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.3);
  color: #e0ffe0;
  font-size: 1rem;
}

.deposit-form input::placeholder {
  color: #aaffaa;
}

/* Submit Button */
.deposit-form button {
  background: linear-gradient(135deg, #2efb74, #0d0d0d);
  color: white;
  padding: 12px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(46, 251, 116, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.deposit-form button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(46, 251, 116, 0.5);
}



.withdraw-container {
  max-width: 500px;
  margin: 40px auto;
  padding: 25px;
  background: linear-gradient(to bottom right, #1b3d27, #0f2618);
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  font-family: 'Segoe UI', sans-serif;
}

.withdraw-container h3 {
  text-align: center;
  color: #ffffff;
  margin-bottom: 20px;
}

.wallet-balance {
  font-weight: bold;
  color: #ffffff;
  background: #2d4a34;
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 20px;
  text-align: center;
  font-size: 1.1em;
  border: 1px solid #4a7053;
}

#withdrawForm {
  display: flex;
  flex-direction: column;
}

#withdrawForm label {
  margin-top: 12px;
  color: #ffffff;
  font-weight: 600;
}

#withdrawForm input,
#withdrawForm select {
  padding: 10px;
  margin-top: 6px;
  border-radius: 8px;
  border: 2px solid #2f5c46;
  background: #1f3d2d;
  color: #ffffff;
  outline: none;
  transition: 0.3s ease;
}

#withdrawForm input:focus,
#withdrawForm select:focus {
  border-color: #5d7e68;
  background-color: #2c4a3b;
  box-shadow: none;
}

#withdrawForm button {
  margin-top: 20px;
  background-color: #3b704f;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

#withdrawForm button:hover {
  background-color: #2f5c44;
}
/* Profile Form Container */
.profile-form {
  background: linear-gradient(to bottom right, #1a3d2f, #0f5129); /* Dark green gradient */
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0 auto; /* Center horizontally */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  width: 95%; /* Stick close to sides */
  max-width: 1200px; /* Optional: to prevent stretching on large screens */
}

/* Profile Form Title and Input Labels */
.profile-form h3 {
  font-size: 1.6em;
  color: #ffffff;
  margin-bottom: 15px;
}

.profile-form label {
  font-size: 1.1em;
  color: #b8e4d3; /* Light green color for labels */
  margin-bottom: 5px;
  display: block;
}

/* Profile Form Input Fields */
.profile-form input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: 2px solid #3d6e4f; /* Lighter green border */
  background-color: #2c4a3b; /* Dark background for inputs */
  color: #ffffff;
  font-size: 1em;
}

.profile-form input:focus {
  border-color: #63a69f;
  background-color: #3e5f4c;
  outline: none;
}

/* Image Container for Profile and KYC */
.image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.image-container input[type="file"] {
  display: none;
}

.image-box {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #3d6e4f; /* Light green border */
  margin-left: 20px;
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* KYC Box */
.kyc-box {
  background: linear-gradient(to bottom right, #2a4e39, #1e3b2f);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  margin-top: 20px;
}

.kyc-box h3 {
  color: #ffffff;
  font-size: 1.6em;
  margin-bottom: 15px;
}

/* Bank Details Section */
.bank-details {
  background: linear-gradient(to bottom right, #2a4e39, #1e3b2f);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  margin-top: 20px;
}

.bank-details h3 {
  color: #ffffff;
  font-size: 1.6em;
  margin-bottom: 15px;
}

/* Bank Details Form Fields Only */
.bank-details .bank-input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: 2px solid #3d6e4f;
  background-color: #2c4a3b;
  color: #ffffff;
  font-size: 1em;
}

.bank-details .bank-input:focus {
  border-color: #63a69f;
  background-color: #3e5f4c;
  outline: none;
}

/* Bank Details Button */
.bank-details .bank-btn {
  background-color: #4e8c61;
  color: #ffffff;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.bank-details .bank-btn:hover {
  background-color: #3e714e;
}

/* Buttons */
.profile-form button, .kyc-box button, .bank-details button {
  background-color: #4e8c61;
  color: #ffffff;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.profile-form button:hover, .kyc-box button:hover, .bank-details button:hover {
  background-color: #3e714e;
}

/* Profile Circle with Border */
.bordered-image {
  border: 4px solid #4e8c61; /* Bright green border */
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  box-shadow: 0 0 10px rgba(78, 140, 97, 0.6);
}


/* Styled Upload Box */
.upload-box {
  background: linear-gradient(to bottom right, #2a4e39, #1e3b2f);
  border: 2px solid #3d6e4f;
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 15px;
}

.upload-box input[type="file"] {
  background: none;
  color: #ffffff;
  width: 100%;
  border: none;
  font-size: 1em;
}

/* KYC Container */
.kyc-box {
  background: linear-gradient(to bottom right, #2a4e39, #1e3b2f);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  margin-top: 20px;
}

.kyc-box h3 {
  color: #ffffff;
  font-size: 1.6em;
  margin-bottom: 20px;
  text-align: center;
}

/* Image Box Wrapper */
.kyc-image-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

/* Profile Image Box */
.kyc-image-box {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #4e8c61;
  background-color: #2c4a3b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kyc-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* File Input Styles */
#kycForm input[type="file"] {
  display: block;
  width: 100%;
  margin-top: 6px;
  margin-bottom: 15px;
  padding: 12px;
  border-radius: 8px;
  background-color: #2c4a3b;
  border: 2px solid #3d6e4f;
  color: #fff;
  cursor: pointer;
}

#kycForm input[type="file"]:focus {
  outline: none;
  border-color: #63a69f;
  background-color: #3e5f4c;
}

/* Button Styling */
#kycForm button {
  background-color: #4e8c61;
  color: #ffffff;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

#kycForm button:hover {
  background-color: #3e714e;
}



@media (max-width: 768px) {
  .sidebar {
    width: 200px;
    border-radius: 0 15px 15px 0;
  }

  main {
    padding: 15px;
    margin-left: 0 !important;
  }

  .dashboard {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
  }

  #toggleSidebar {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .box h3 {
    font-size: 0.95rem;
  }

  .box p {
    font-size: 0.85rem;
  }

  .wallet-buttons button,
  .pending-balance button,
  .referral-box button,
  .crypto-address button {
    font-size: 13px;
    padding: 8px 16px;
  }

  .referral-box input,
  .deposit-form input {
    font-size: 14px;
    padding: 8px;
  }
}


.team-details {
  padding: 20px;
  background: linear-gradient(to right, #1d1d1d, #2c2c2c);
  border-radius: 15px;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  margin: 0 auto 20px auto; /* updated this line */
  width: 85%;
}

.team-block {
  margin-top: 20px;
  border-top: 1px solid #444;
  padding-top: 10px;
}

.team-block h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #ffffff;
  font-weight: bold;
}

.team-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #333;
  padding: 10px 15px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.team-row span {
  font-size: 16px;
  color: #eee;
}

.team-btn {
  background: #9c27b0;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.team-btn:hover {
  background: #7b1fa2;
  }
