/* Google Fonts for HD Look */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(45deg, #0f2027, #203a43, #2c5364); /* Deep HD Gradient */
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.auth-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    width: 380px;
    text-align: center;
}

.auth-container h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 28px;
}

.auth-container input {
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    border: 2px solid #eee;
    border-radius: 10px;
    box-sizing: border-box;
    transition: 0.3s;
}

.auth-container input:focus {
    border-color: #3498db;
    outline: none;
}

.auth-container button {
    width: 100%;
    padding: 15px;
    background: #3498db;
    border: none;
    color: white;
    font-size: 18px;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.4s;
    margin-top: 10px;
}

.auth-container button:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

/* Back Link Styling */
.back-option {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.back-option p {
    color: #7f8c8d;
    font-size: 14px;
}

.back-option a {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    padding: 5px 15px;
    border: 1px solid #3498db;
    border-radius: 20px;
    margin-top: 5px;
    transition: 0.3s;
}

.back-option a:hover {
    background: #3498db;
    color: white;
}
.error-msg {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: bold;
}
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body.dash-bg {
    background-color: #f4f7f6;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 15px;
}

.main-wrapper {
    max-width: 500px;
    margin: 0 auto;
}

/* Profile Card */
.profile-card {
    background: white;
    border-radius: 20px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
}

.avatar-container {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid #2ecc71;
    overflow: hidden;
    margin-right: 20px;
}

.avatar-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-display-name {
    font-size: 22px;
    color: #333;
    margin: 0;
    text-transform: capitalize;
}

/* Welcome Banner */
.welcome-scroller {
    background: white;
    border: 2px solid #000;
    border-radius: 30px;
    padding: 8px 20px;
    text-align: center;
    margin-bottom: 15px;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
}

/* Stats Cards */
.stat-box {
    background: white;
    border-radius: 15px;
    padding: 15px 20px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    border-left: 5px solid #ddd; /* Default border */
}

.stat-info span {
    display: block;
    font-size: 15px;
    color: #666;
    font-weight: 500;
}

.stat-info strong {
    font-size: 22px;
}

.icon-gray {
    font-size: 35px;
    color: #444;
    opacity: 0.8;
}

/* Colors from Image */
.border-blue { border-left: 5px solid #3498db; }
.border-cyan { border-left: 5px solid #1abc9c; }
.border-yellow { border-left: 5px solid #f1c40f; }
.border-purple { border-left: 5px solid #9b59b6; }
.border-orange { border-left: 5px solid #e67e22; }

.text-blue { color: #2980b9; }
.text-red { color: #e74c3c; }
.text-orange { color: #d35400; }
.text-green { color: #27ae60; }

.logout-link {
    color: #888;
    text-decoration: none;
    font-size: 14px;
}
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #f0f2f5;
}

.dashboard-layout {
    display: flex;
}

/* SIDEBAR STYLING */
.sidebar {
    width: 260px;
    background: white;
    height: 100vh;
    position: fixed;
    border-right: 1px solid #eee;
    overflow-y: auto;
}

.logo-area {
    padding: 20px;
    border-bottom: 1px solid #f9f9f9;
}

.logo-area img { width: 100%; max-height: 50px; object-fit: contain; }

.side-nav { padding: 10px 0; }

.side-nav a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    text-decoration: none;
    color: #555;
    font-size: 14px;
    transition: 0.3s;
}

.side-nav a i { width: 30px; font-size: 18px; color: #666; }

.side-nav a:hover, .side-nav a.active {
    background: #f0f4f8;
    color: #2980b9;
    border-left: 4px solid #2980b9;
}

.logout-link-side { color: #e74c3c !important; margin-top: 20px; }

/* MAIN CONTENT STYLING */
.main-content {
    margin-left: 260px; /* Sidebar ki jagah chorna */
    width: 100%;
    padding: 20px;
}

.mobile-container { max-width: 450px; margin: 0 auto; }

/* Profile & Banner */
.profile-header {
    background: white;
    border-radius: 20px;
    padding: 15px;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.avatar-circle {
    width: 60px; height: 60px;
    border-radius: 50%;
    border: 3px solid #2ecc71;
    overflow: hidden;
    margin-right: 15px;
}
.avatar-circle img { width: 100%; height: 100%; }

.user-name-text { font-size: 20px; color: #333; margin: 0; }

.welcome-box {
    background: white;
    border: 2px solid #333;
    border-radius: 30px;
    padding: 5px 15px;
    text-align: center;
    font-size: 12px;
    margin-bottom: 20px;
}

/* Stat Items */
.stat-item {
    background: white;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.info span { display: block; font-size: 14px; color: #777; font-weight: 600; }
.info strong { font-size: 22px; }

.stat-item i { font-size: 30px; color: #555; }

/* Borders & Colors */
.border-blue { border-left: 5px solid #3498db; }
.border-cyan { border-left: 5px solid #1abc9c; }
.border-yellow { border-left: 5px solid #f1c40f; }
.border-purple { border-left: 5px solid #9b59b6; }
.border-orange { border-left: 5px solid #e67e22; }
.border-green { border-left: 5px solid #2ecc71; }

.blue-t { color: #2980b9; }
.red-t { color: #e74c3c; }
.orange-t { color: #d35400; }
.green-t { color: #27ae60; }

/* Mobile Responsive */
@media (max-width: 768px) {
    .sidebar { width: 0; display: none; }
    .main-content { margin-left: 0; }
}
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #f4f7f6;
    overflow-x: hidden;
}

/* TOP HEADER */
.top-header {
    background: #fff;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: fixed;
    top: 0; width: 100%; box-sizing: border-box;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.top-header i { font-size: 20px; color: #333; cursor: pointer; }
.header-right i { margin-left: 20px; color: #e74c3c; }
.logo-text { font-weight: bold; font-size: 18px; color: #2c3e50; }

/* SIDEBAR (Hidden by default) */
.sidebar {
    position: fixed;
    left: -260px; /* Bahar rakha hai */
    top: 60px;
    width: 260px;
    height: calc(100vh - 60px);
    background: #fff;
    transition: 0.3s;
    z-index: 999;
    border-right: 1px solid #eee;
}

.sidebar.active { left: 0; } /* Click par andar aayega */

.sidebar-header { text-align: center; padding: 20px; border-bottom: 1px solid #eee; }
.sidebar-header img { width: 60px; border-radius: 50%; }

.side-nav a {
    display: flex; padding: 15px 20px;
    text-decoration: none; color: #555;
    border-bottom: 1px solid #f9f9f9;
}
.side-nav a i { width: 30px; }

/* MAIN CONTENT */
.content-body {
    margin-top: 80px;
    padding: 15px;
    transition: 0.3s;
}

/* Cards & Design */
.profile-summary { background: #fff; border-radius: 15px; padding: 15px; display: flex; align-items: center; margin-bottom: 15px; border: 1px solid #eee; }
.profile-summary img { width: 50px; border-radius: 50%; border: 2px solid #2ecc71; margin-right: 15px; }

.scrolling-banner { background: #fff; border: 2px solid #333; border-radius: 25px; padding: 8px; text-align: center; margin-bottom: 20px; font-size: 12px; }

.card { background: #fff; padding: 15px; border-radius: 12px; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; border-left: 5px solid #ddd; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.c-txt span { display: block; font-size: 13px; color: #777; }
.c-txt strong { font-size: 20px; color: #2980b9; }
.card i { font-size: 25px; color: #444; }

.b-blue { border-left-color: #3498db; }
.b-cyan { border-left-color: #1abc9c; }
.b-purple { border-left-color: #9b59b6; }
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body { margin: 0; font-family: 'Poppins', sans-serif; background: #f0f2f5; }

/* Header Fix */
.top-nav-hd {
    background: #fff; height: 60px; display: flex;
    justify-content: space-between; align-items: center;
    padding: 0 20px; position: sticky; top: 0; z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.nav-center span { font-weight: 700; color: #333; }
.top-nav-hd i { font-size: 20px; color: #555; cursor: pointer; }
.nav-right i { margin-left: 15px; }

/* Sidebar Fix */
.side-menu {
    position: fixed; left: -280px; top: 0; width: 280px; height: 100%;
    background: #fff; z-index: 200; transition: 0.4s; padding-top: 20px;
}
.side-menu.active { left: 0; }
.side-logo { padding: 0 20px 20px; border-bottom: 1px solid #eee; }
.side-menu a {
    display: flex; align-items: center; padding: 15px 20px;
    text-decoration: none; color: #444; font-size: 14px;
}
.side-menu a i { width: 35px; font-size: 18px; color: #666; }
.side-menu a.active { background: #f0f7ff; color: #2980b9; border-left: 4px solid #2980b9; }

.overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4); display: none; z-index: 150;
}
.overlay.active { display: block; }

/* Main Wrapper & Cards */
.main-wrapper { max-width: 480px; margin: 20px auto; padding: 0 15px; }

.user-card {
    background: #fff; border-radius: 20px; padding: 15px 20px;
    display: flex; align-items: center; border: 1px solid #eee; margin-bottom: 15px;
}
.avatar-box {
    width: 65px; height: 65px; border-radius: 50%;
    border: 3px solid #2ecc71; overflow: hidden; margin-right: 15px;
}
.avatar-box img { width: 100%; height: 100%; }
.user-name { font-size: 20px; color: #333; margin: 0; font-weight: 600; }

.scroll-msg {
    background: #fff; border: 2px solid #000; border-radius: 30px;
    padding: 6px; text-align: center; font-size: 12px; margin-bottom: 20px;
}

.stat-item {
    background: #fff; border-radius: 15px; padding: 15px 20px;
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 12px; border-left: 6px solid #ccc;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}
.txt span { display: block; font-size: 14px; color: #888; font-weight: 500; }
.txt strong { font-size: 22px; }
.stat-item i { font-size: 30px; color: #555; opacity: 0.8; }

/* Borders & Text Colors */
.b-blue { border-left-color: #3498db; }
.b-cyan { border-left-color: #1abc9c; }
.b-yellow { border-left-color: #f1c40f; }
.b-purple { border-left-color: #9b59b6; }
.b-green { border-left-color: #2ecc71; }
.c-blue { color: #2980b9; }
.c-red { color: #e74c3c; }
.c-green { color: #27ae60; }
/* Header ko top par chipkane ke liye */
.top-nav-hd {
    background: #fff;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    
    /* Ye 3 lines sab se zaroori hain */
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    
    z-index: 1000; /* Taake ye sab cheezon ke upar rahe */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    box-sizing: border-box; /* Padding ko width ke andar rakhne ke liye */
}

/* Main content ko thoda niche se shuru karein taake header ke piche na chhup jaye */
.main-wrapper {
    margin-top: 80px; /* Header ki height se thoda zyada margin */
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

/* Sidebar ko bhi header ke niche se shuru hona chahiye */
.side-menu {
    position: fixed;
    left: -280px;
    top: 0; /* Ya 60px agar aap header ke niche rakhna chahte hain */
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 2000; /* Header se bhi upar */
    transition: 0.4s;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body { 
    margin: 0; 
    font-family: 'Poppins', sans-serif; 
    background: #f0f2f5; 
}

/* --- TOP HEADER (Fixed for Both) --- */
.top-nav-hd {
    background: #fff; height: 65px; display: flex;
    justify-content: space-between; align-items: center;
    padding: 0 30px; position: fixed; top: 0; left: 0; width: 100%;
    z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    box-sizing: border-box;
}
.nav-center span { font-weight: 700; color: #333; font-size: 1.2rem; }
.top-nav-hd i { font-size: 22px; color: #555; cursor: pointer; transition: 0.3s; }
.top-nav-hd i:hover { color: #2980b9; }

/* --- SIDEBAR --- */
.side-menu {
    position: fixed; left: -280px; top: 0; width: 280px; height: 100%;
    background: #fff; z-index: 2000; transition: 0.4s; padding-top: 20px;
    box-shadow: 5px 0 15px rgba(0,0,0,0.1);
}
.side-menu.active { left: 0; }
.overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); display: none; z-index: 1500;
}
.overlay.active { display: block; }

/* --- MAIN CONTENT WRAPPER --- */
.main-wrapper {
    margin-top: 90px;
    padding: 20px;
    transition: 0.3s;
    margin-left: auto;
    margin-right: auto;
}

/* --- CARDS DESIGN --- */
.user-card {
    background: #fff; border-radius: 20px; padding: 20px;
    display: flex; align-items: center; border: 1px solid #eee; margin-bottom: 20px;
}
.avatar-box {
    width: 70px; height: 70px; border-radius: 50%;
    border: 3px solid #2ecc71; overflow: hidden; margin-right: 20px;
}
.avatar-box img { width: 100%; height: 100%; object-fit: cover; }

.stat-item {
    background: #fff; border-radius: 15px; padding: 20px;
    display: flex; justify-content: space-between; align-items: center;
    border-left: 6px solid #ccc; box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    margin-bottom: 15px;
}

/* ======================================================
   LAPTOP / DESKTOP DESIGN (Ab ye khula nazar aayega)
   ====================================================== */
@media (min-width: 992px) {
    .main-wrapper {
        max-width: 90%;           /* Laptop par 90% screen cover karega */
        margin-top: 100px;        /* Header se thoda niche */
        padding: 40px;            /* Side se zyada jagah */
    }

    .user-card {
        padding: 30px;            /* Profile card bada ho jaye */
        margin-bottom: 30px;
    }

    .user-name {
        font-size: 32px;          /* Naam bada nazar aaye */
    }

    .grid-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* Ek line mein 3 bade cards */
        gap: 30px;                /* Cards ke darmiyan zyada gap */
    }

    .stat-item {
        padding: 35px 25px;       /* Cards ka size bada kar diya */
        height: 120px;            /* Card ki unchai barha di */
    }

    .txt strong {
        font-size: 35px;          /* Earning numbers bade nazar aayein */
    }

    .stat-item i {
        font-size: 50px;          /* Icons bhi bade ho gaye */
    }
}

/* Mobile ke liye wahi purana compact design rahega */
@media (max-width: 991px) {
    .main-wrapper {
        max-width: 450px; 
        margin-top: 80px;
    }
}
/* ======================================================
   MOBILE DESIGN (Choti Screen ke liye)
   ====================================================== */
@media (max-width: 991px) {
    .main-wrapper {
        max-width: 480px; /* Mobile par single column aur compact */
    }
    
    .grid-stats {
        display: flex;
        flex-direction: column;
    }
}

/* Border Colors */
.b-blue { border-left-color: #3498db; }
.b-cyan { border-left-color: #1abc9c; }
.b-yellow { border-left-color: #f1c40f; }
.b-purple { border-left-color: #9b59b6; }
.b-green { border-left-color: #2ecc71; }

.collect-btn {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
    width: 100%;
}
.collect-btn:hover {
    transform: scale(1.02);
}
/* Sidebar ko tabhi active karein jab wo khula ho */
.side-menu {
    position: fixed;
    left: -280px;
    top: 0;
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 2000;
    transition: 0.4s;
    /* Ye do lines click block ko theek karengi */
    visibility: hidden; 
    pointer-events: none;
}

.side-menu.active {
    left: 0;
    visibility: visible;
    pointer-events: auto;
}
/* Card design as per your image */
.info-card {
    background: white;
    border: 1px solid #d1d1d1;
    border-radius: 15px; /* Rounded corners */
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.neon-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    background: #000; /* Dark background */
}

.neon-card {
    position: relative;
    background: #111;
    border: 1px solid #1a1a1a;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    transition: 0.3s;
    /* Neon border effect */
    box-shadow: inset 0 0 10px rgba(0, 229, 255, 0.05), 0 5px 15px rgba(0,0,0,0.5);
}

/* Neon accent line at the side */
.neon-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 4px;
    background: #00e5ff;
    box-shadow: 0 0 15px #00e5ff;
    border-radius: 0 5px 5px 0;
}

.card-label {
    color: #00e5ff; /* Neon Blue text */
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1.5px;
    margin: 0;
    font-weight: bold;
}

.card-value {
    color: #fff;
    font-size: 24px;
    margin: 5px 0 0 0;
    font-family: 'Orbitron', sans-serif; /* Gaming font look */
    text-shadow: 0 0 10px rgba(255,255,255,0.2);
}

.card-icon {
    font-size: 25px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.3);
}

.blue-glow {
    color: #00e5ff;
    border: 1px solid rgba(0, 229, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

.purple-glow {
    color: #bd00ff;
    border: 1px solid rgba(189, 0, 255, 0.3);
    box-shadow: 0 0 15px rgba(189, 0, 255, 0.2);
}

/* Hover effect */
.neon-card:hover {
    transform: translateY(-5px);
    border-color: #00e5ff;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
}