@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;800&display=swap');



* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

    font-family: 'Poppins', sans-serif;

}



body {

    background: #05070a;

    min-height: 100vh;

    display: flex;

    color: white;

    overflow-x: hidden;

}



/* --- BACKGROUND GLOW EFFECTS --- */

.background-elements .glow-circle {

    position: absolute;

    filter: blur(120px);

    border-radius: 50%;

    z-index: -1;

    opacity: 0.35;

    pointer-events: none;

}

.c1 { width: 500px; height: 500px; background: #00d2ff; top: -150px; right: -100px; }

.c2 { width: 450px; height: 450px; background: #ff00cc; bottom: -120px; left: -120px; }



/* --- DASHBOARD & SIDEBAR --- */

.dashboard-page {

    display: flex;

    width: 100%;

    min-height: 100vh;

}



.sidebar {

    width: 260px;

    background: rgba(255, 255, 255, 0.02);

    border-right: 1px solid rgba(255, 255, 255, 0.05);

    padding: 30px 20px;

    display: flex;

    flex-direction: column;

    position: sticky;

    top: 0;

    height: 100vh;

    backdrop-filter: blur(10px);

}



.sidebar .logo { font-size: 24px; font-weight: 800; margin-bottom: 50px; text-align: center; }

.sidebar .logo span { color: #00d2ff; }



.sidebar ul { list-style: none; }

.sidebar ul li {

    padding: 15px;

    margin-bottom: 10px;

    border-radius: 12px;

    cursor: pointer;

    color: #888;

    transition: 0.3s;

    display: flex;

    align-items: center;

    gap: 12px;

}

.sidebar ul li:hover, .sidebar ul li.active { background: rgba(0, 210, 255, 0.1); color: #00d2ff; }

.sidebar .logout { margin-top: auto; color: #ff4d4d !important; }



/* --- MAIN CONTENT AREA --- */

.main-content { 

    flex: 1; 

    padding: 40px; 

    display: flex;

    flex-direction: column;

}



header {

    display: flex;

    justify-content: space-between; 

    align-items: center;

    width: 100%;

    margin-bottom: 40px;

}



.welcome-text h1 { font-size: 28px; font-weight: 800; }



.payout-timer {

    background: rgba(0, 210, 255, 0.1);

    padding: 12px 25px;

    border-radius: 50px;

    border: 1px solid #00d2ff;

    color: #00d2ff;

    font-weight: 700;

    font-size: 18px; 

    box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);

    white-space: nowrap;

}



/* --- STATS GRID --- */

.stats-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr); 

    gap: 25px;

    width: 100%;

    margin-bottom: 40px;

}



.stat-card {

    background: rgba(255, 255, 255, 0.03);

    padding: 35px 25px;

    border-radius: 24px;

    border: 1px solid rgba(255, 255, 255, 0.08);

    transition: all 0.4s ease;

    display: flex;

    flex-direction: column;

    justify-content: center;

}



.stat-card:hover {

    transform: translateY(-8px);

    background: rgba(255, 255, 255, 0.06);

    border-color: rgba(0, 210, 255, 0.4);

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);

}



.stat-card h3 { font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; color: #aaa; margin-bottom: 12px; }



.stat-card .val { 

    font-size: 40px; 

    font-weight: 600; 

    letter-spacing: -0.5px; 

    line-height: 1.1; 

}



#currentBalance, #withdrawBalance { color: #ffffff; text-shadow: 0 0 15px rgba(255, 255, 255, 0.1); }

#totalProfit { color: #00ff88; text-shadow: 0 0 15px rgba(0, 255, 136, 0.15); }

#activeDeposit { color: #ffd700; text-shadow: 0 0 15px rgba(255, 215, 0, 0.15); }



/* --- WITHDRAW & DEPOSIT FORM --- */

.form-container {

    max-width: 550px;

    background: rgba(255, 255, 255, 0.03);

    backdrop-filter: blur(25px);

    padding: 45px;

    border-radius: 30px;

    border: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow: 0 30px 60px rgba(0,0,0,0.4);

    margin-top: 20px;

}



.form-group { margin-bottom: 25px; }

.form-group label { display: block; margin-bottom: 12px; color: #aaa; font-size: 14px; font-weight: 500; }



.form-group input, .form-group select {

    width: 100%;

    padding: 18px 25px; 

    background: rgba(255, 255, 255, 0.04);

    border: 1px solid rgba(255, 255, 255, 0.1);

    border-radius: 16px;

    color: white;

    font-size: 17px;

    outline: none;

    transition: 0.3s;

}



/* FIX: Dropdown options ko nazar anay ke liye dark background */

.form-group select option {

    background-color: #0d1117; 

    color: white;

    padding: 10px;

}



.form-group input:focus, .form-group select:focus {

    border-color: #00d2ff;

    background: rgba(0, 210, 255, 0.06);

    box-shadow: 0 0 20px rgba(0, 210, 255, 0.1);

}



/* --- TRANSACTION HISTORY TABLE --- */

.history-container {

    background: rgba(255, 255, 255, 0.02);

    border-radius: 24px;

    padding: 25px;

    border: 1px solid rgba(255, 255, 255, 0.05);

    margin-top: 30px;

}



table { width: 100%; border-collapse: separate; border-spacing: 0 10px; }

th { text-align: left; padding: 15px 20px; color: #666; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }

td { background: rgba(255, 255, 255, 0.02); padding: 20px; font-size: 15px; border-top: 1px solid rgba(255, 255, 255, 0.05); border-bottom: 1px solid rgba(255, 255, 255, 0.05); }



td:first-child { border-left: 1px solid rgba(255, 255, 255, 0.05); border-radius: 15px 0 0 15px; }

td:last-child { border-right: 1px solid rgba(255, 255, 255, 0.05); border-radius: 0 15px 15px 0; }



tr:hover td { background: rgba(255, 255, 255, 0.05); transition: 0.3s; }



.status { padding: 5px 12px; border-radius: 50px; font-size: 11px; font-weight: 700; text-transform: uppercase; }



/* --- BUTTONS --- */

.btn-primary { 

    background: linear-gradient(45deg, #00d2ff, #3a7bd5); 

    color: white; 

    width: 100%;

    padding: 18px;

    border-radius: 14px;

    font-weight: 700;

    text-transform: uppercase;

    border: none;

    cursor: pointer;

    transition: 0.3s ease;

}



.btn-primary:hover {

    transform: scale(1.02);

    box-shadow: 0 10px 25px rgba(0, 210, 255, 0.4);

}



/* --- AUTH PAGE (LOGIN/SIGNUP) --- */

.auth-page {

    justify-content: center;

    align-items: center;

    background: radial-gradient(circle at top right, #0a121a, #05070a);

    width: 100%;

    height: 100vh;

}



.auth-container {

    width: 100%;

    max-width: 420px;

    padding: 20px;

    z-index: 10;

}



.glass-card {

    background: rgba(255, 255, 255, 0.03);

    backdrop-filter: blur(25px);

    -webkit-backdrop-filter: blur(25px);

    padding: 50px 40px;

    border-radius: 35px;

    border: 1px solid rgba(255, 255, 255, 0.08);

    text-align: center;

    box-shadow: 0 40px 100px rgba(0,0,0,0.6);

    animation: fadeIn 0.8s ease-out;

}



@keyframes fadeIn {

    from { opacity: 0; transform: translateY(20px); }

    to { opacity: 1; transform: translateY(0); }

}



.glass-card .logo { font-size: 32px; font-weight: 800; margin-bottom: 20px; }

.glass-card .logo span { color: #00d2ff; }



.glass-card h2 {

    font-size: 28px;

    font-weight: 800;

    margin-bottom: 8px;

    color: #fff;

    letter-spacing: -1px;

}



.glass-card p {

    color: #888;

    font-size: 14px;

    margin-bottom: 35px;

}



/* Input Styles */

.glass-card .input-group {

    position: relative;

    margin-bottom: 20px;

    text-align: left;

}



.glass-card .input-group i {

    position: absolute;

    left: 20px;

    top: 50%;

    transform: translateY(-50%);

    color: #00d2ff;

    font-size: 18px;

}



.glass-card .input-group input {

    width: 100%;

    padding: 16px 16px 16px 55px;

    background: rgba(255, 255, 255, 0.04);

    border: 1px solid rgba(255, 255, 255, 0.1);

    border-radius: 16px;

    color: white;

    font-size: 15px;

    outline: none;

    transition: 0.3s;

}



.glass-card .input-group input:focus {

    border-color: #00d2ff;

    background: rgba(0, 210, 255, 0.06);

    box-shadow: 0 0 15px rgba(0, 210, 255, 0.1);

}



/* Forgot Password Styling */

.forgot-password-link {

    display: block;

    text-align: right;

    margin-top: -12px;

    margin-bottom: 25px;

    color: #888;

    text-decoration: none;

    font-size: 13px;

    transition: 0.3s;

    font-weight: 500;

}



.forgot-password-link:hover {

    color: #00d2ff;

    text-shadow: 0 0 8px rgba(0, 210, 255, 0.3);

}



.auth-footer {

    margin-top: 30px;

    font-size: 14px;

    color: #888;

}



.auth-footer a {

    color: #00d2ff;

    text-decoration: none;

    font-weight: 600;

    transition: 0.3s;

}



.auth-footer a:hover {

    text-shadow: 0 0 10px rgba(0, 210, 255, 0.5);

    text-decoration: underline;

}



/* --- MOBILE SPECIFIC FIXES --- */

@media (max-width: 1024px) {

    .dashboard-page { flex-direction: column; }

    .sidebar { 

        width: 100%; height: auto; position: relative; border-right: none; 

        border-bottom: 1px solid rgba(255,255,255,0.05); padding: 20px;

    }

    .sidebar ul { display: flex; overflow-x: auto; gap: 10px; }

    .sidebar ul li { white-space: nowrap; margin-bottom: 0; }

    .main-content { padding: 20px; }

    .stats-grid { grid-template-columns: 1fr; gap: 15px; }

}