        /* Stats Box */
        .stats-container {
            display: flex;
            justify-content: space-between;
            margin-top: 20px;
            gap: 15px;
        }

        .stats-box {
            flex: 1;
            background: linear-gradient(135deg, #FFD700, #B8860B);
            padding: 20px;
            border-radius: 10px;
            color: #121212;
            font-size: 18px;
            font-weight: bold;
        }

          /* Form Containers */
        .auth-container {
            max-width: 400px;
            margin: 100px auto;
            padding: 20px;
            background: #1e1e1e;
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
            text-align: center;
        }

        .auth-container h2 {
            margin-bottom: 15px;
            color: gold;
        }

        .auth-container input {
            width: 100%;
            padding: 10px;
            margin: 10px 0;
            border: 1px solid gold;
            border-radius: 5px;
            background: #222;
            color: white;
        }

        .auth-container button {
            width: 100%;
            padding: 12px;
            background: gold;
            border: none;
            font-size: 16px;
            cursor: pointer;
            border-radius: 5px;
            color: #121212;
        }

        .auth-container button:hover {
            background: #b8860b;
        }

        .error-message {
            color: red;
            font-size: 14px;
            display: none;
        }

        .toggle-form {
            margin-top: 15px;
            color: gold;
            cursor: pointer;
        }

        .toggle-form:hover {
            text-decoration: underline;
        }

        .forgot-password {
            display: block;
            margin-top: 10px;
            color: gold;
            font-size: 14px;
        }

        .forgot-password:hover {
            text-decoration: underline;
        }

        .password-container {
            position: relative;
        }

        .toggle-password {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
            color: gold;
        }
        
        /* Trade Button */
        .trade-btn {
            margin-top: 20px;
            padding: 10px 20px;
            background: gold;
            color: #121212;
            border: none;
            font-size: 16px;
            cursor: pointer;
            border-radius: 5px;
        }

        /* Modal */
        .modal {
            display: none;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
        }

        .modal-content {
            background: #1e1e1e;
            padding: 20px;
            width: 30%;
            margin: 10% auto;
            border-radius: 10px;
            text-align: center;
        }

        .modal-content input, .modal-content select {
            width: 100%;
            padding: 10px;
            margin: 10px 0;
            background: #333;
            border: none;
            color: white;
            border-radius: 5px;
        }

        .modal-content button {
            width: 100%;
            padding: 10px;
            background: gold;
            color: black;
            border: none;
            font-size: 16px;
            cursor: pointer;
            border-radius: 5px;
        }

        .close-modal {
            float: right;
            cursor: pointer;
            font-size: 20px;
            color: red;
        }

         /* Deposit Button */
        .deposit-btn {
            margin-top: 20px;
            padding: 12px 20px;
            background: gold;
            color: #121212;
            border: none;
            font-size: 16px;
            cursor: pointer;
            border-radius: 5px;
        }

        /* Deposit Modal */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            justify-content: center;
            align-items: center;
        }

        .modal-content {
            background: #1e1e1e;
            padding: 20px;
            width: 350px;
            border-radius: 10px;
            text-align: center;
        }

        .modal input, .modal select {
            width: 100%;
            padding: 10px;
            margin: 10px 0;
            border: none;
            border-radius: 5px;
        }

        .modal .close {
            cursor: pointer;
            color: red;
            font-size: 20px;
        }


  

        /* Chart Container */
        .chart-container {
            margin-top: 20px;
            width: 100%;
            height: 500px;
            background: #1e1e1e;
            padding: 10px;
            border-radius: 10px;
        }
        /* Referral Section */
.referral-section {
  margin: 30px 20px;
  color: #fff;
}

.referral-box {
  display: flex;
  align-items: center;
  background-color: #1e1e1e;
  border: 2px solid #bfa641;
  border-radius: 8px;
  padding: 10px;
  gap: 10px;
  margin-top: 10px;
}

.referral-box input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 16px;
  outline: none;
}

.copy-btn {
  background-color: #bfa641;
  color: #000;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: background 0.3s;
}

.copy-btn:hover {
  background-color: #d1b95b;
}
/* Trade Log Section */
.trade-log-section {
  margin: 30px 20px;
  color: #fff;
}

.trade-log-table {
  overflow-x: auto;
}

.trade-log-table table {
  width: 100%;
  border-collapse: collapse;
  background: #1e1e1e;
  border: 2px solid #bfa641;
  border-radius: 8px;
}

.trade-log-table th, .trade-log-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #333;
  color: #fff;
}

.trade-log-table th {
  background: #2a2a2a;
  color: #bfa641;
  text-align: left;
}

.trade-log-table tr:hover {
  background-color: #2f2f2f;
}

.trade-log-table .success {
  color: #00c851;
  font-weight: bold;
}

.trade-log-table .pending {
  color: #ffbb33;
  font-weight: bold;
}

.trade-log-table .failed {
  color: #ff4444;
  font-weight: bold;
}
/* Mining Form */
.mining-form-section {
  margin: 30px 20px;
  color: #fff;
}

.mining-form {
  background: #1e1e1e;
  padding: 20px;
  border: 2px solid #bfa641;
  border-radius: 10px;
  max-width: 500px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  color: #bfa641;
  margin-bottom: 5px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px;
  background-color: #2a2a2a;
  border: 1px solid #bfa641;
  border-radius: 5px;
  color: #fff;
  font-size: 16px;
}

.mining-btn {
  background-color: #bfa641;
  color: #000;
  padding: 10px 20px;
  border: none;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mining-btn:hover {
  background-color: #d1b95b;
}

/* Mining Log Section */
.mining-log-section {
  margin: 30px 20px;
  color: #fff;
}

.mining-log-table {
  overflow-x: auto;
}

.mining-log-table table {
  width: 100%;
  border-collapse: collapse;
  background: #1e1e1e;
  border: 2px solid #bfa641;
  border-radius: 8px;
}

.mining-log-table th, .mining-log-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #333;
  color: #fff;
}

.mining-log-table th {
  background: #2a2a2a;
  color: #bfa641;
  text-align: left;
}

.mining-log-table tr:hover {
  background-color: #2f2f2f;
}

.mining-log-table .active {
  color: #ffbb33;
  font-weight: bold;
}

.mining-log-table .completed {
  color: #00c851;
  font-weight: bold;
}

.mining-log-table .failed {
  color: #ff4444;
  font-weight: bold;
}

/* KYC Section */
.kyc-section {
  margin: 30px 20px;
  color: #fff;
}

.kyc-form {
  background: #1e1e1e;
  padding: 20px;
  border: 2px solid #bfa641;
  border-radius: 10px;
  max-width: 600px;
}

.kyc-form .form-group {
  margin-bottom: 15px;
}

.kyc-form label {
  display: block;
  color: #bfa641;
  margin-bottom: 5px;
}

.kyc-form input,
.kyc-form select {
  width: 100%;
  padding: 10px;
  background-color: #2a2a2a;
  border: 1px solid #bfa641;
  border-radius: 5px;
  color: #fff;
}

.kyc-btn {
  background-color: #bfa641;
  color: #000;
  padding: 10px 20px;
  border: none;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.kyc-btn:hover {
  background-color: #d1b95b;
}




 body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #1a1a1a!important; /* Dark background */
    color: #f0c040; /* Gold text */
}

/* Top Navbar */
.topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: #2c2c2c; /* Dark navbar */
    display: flex;
    align-items: center;
    padding: 0 20px;
    z-index: 1000;
}

.topnav img.logo {
    height: 40px;
    margin-right: 15px;
}

.topnav h1 {
    flex-grow: 1;
    margin: 0;
    font-size: 20px;
    color: #f0c040; /* Gold text */
}

.topnav .logout {
    color: #f0c040;
    text-decoration: none;
    font-size: 18px;
}

/* Sidebar */
.sidebar {
    height: 100vh;
    width: 250px;
    position: fixed;
    top: 60px; /* Below top navbar */
    background-color: #2c2c2c; /* Dark sidebar */
    transition: 0.3s;
    overflow-y: auto;
    padding-top: 20px;
    z-index: 2000;  /* Added high z-index so it overlays main content */
}

.sidebar .profile-info {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #B8860B;
    margin-bottom: 20px;
}

.sidebar .profile-info img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid #B8860B;
    margin-bottom: 10px;
}

.sidebar .profile-info h3 {
    margin: 0;
    font-size: 18px;
    color: #f0c040;
}

.sidebar a {
    display: flex;
    align-items: center;
    color: #f0c040; /* Gold text */
    padding: 15px;
    text-decoration: none;
    transition: 0.3s;
}

.sidebar a i {
    margin-right: 10px;
    font-size: 18px;
}

.sidebar a:hover {
    background-color: #B8860B; /* Dark gold hover */
}

/* Main Content */
.content {
    margin-top: 60px; /* Space for top navbar */
    margin-left: 250px;
    padding: 20px;
    transition: 0.3s;
    background-color: #1a1a1a; /* Dark background */
    color: #f0c040; /* Gold text */
}

/* Card Layout (for example, if used elsewhere) */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.card {
    background-color: #2c2c2c; /* Dark card background */
    border: 1px solid #B8860B; /* Dark gold border */
    color: #f0c040; /* Gold text */
    flex: 1;
    min-width: 250px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
}

.card i {
    font-size: 40px;
    margin-right: 15px;
}

.card .card-details {
    flex: 1;
}

.card .card-details h2 {
    margin: 0 0 5px;
    font-size: 20px;
}

.card .card-details p {
    margin: 0;
    font-size: 16px;
}

/* TradingView Widget Container */
.tradingview-widget-container {
    margin-bottom: 30px;
}

/* History Section */
.history-section {
    background-color: #2c2c2c;
    border: 1px solid #B8860B;
    padding: 20px;
    border-radius: 8px;
}

.history-section h2 {
    margin-top: 0;
    color: #f0c040;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.history-table th,
.history-table td {
    padding: 10px;
    border: 1px solid #B8860B;
    text-align: left;
    color: #f0c040;
}

/* Toggle Button (Mobile) */
.toggle-btn {
    display: none;
    background-color: #2c2c2c;
    color: #f0c040;
    padding: 10px;
    position: fixed;
    top: 70px; /* Just below top navbar */
    left: 15px;
    z-index: 1001;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Trade Type Price List */
.price-list-section {
  margin: 30px 20px;
}

.price-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.price-card {
  background: #1e1e1e;
  border: 2px solid #bfa641;
  border-radius: 12px;
  flex: 1 1 180px;
  padding: 20px;
  text-align: center;
  color: #fff;
  transition: transform 0.3s ease;
}

.price-card:hover {
  transform: translateY(-5px);
  background: #2a2a2a;
}

.price-card i {
  font-size: 32px;
  color: #bfa641;
  margin-bottom: 10px;
}

.price-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #fff;
}

.price-card p {
  font-size: 16px;
  color: #ccc;
}


@media (max-width: 768px) {
    .sidebar {
        width: 0;
        overflow-x: hidden;
    }

    .content {
        margin-left: 0;
    }

    .toggle-btn {
        display: block;
    }
}
