:root {
    --bg: #050505;
    --card: #111111;
    --neon-cyan: #00f3ff;
    --neon-green: #39ff14;
    --text: #ffffff;
    --text-dim: #999999;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color:rgb(14, 15, 14);
    color: var(--text);
    padding: 20px;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #0a0a0a;
    padding: 15px;
    border-bottom: 1px solid #333;
    
    /* This centers everything in a vertical stack */
    display: flex;
    flex-direction: column; 
    align-items: center;    
    text-align: center;
}

.earnings-dashboard {
    display: flex;
    justify-content: center; /* Centers the three boxes */
    gap: 15px;
    width: 100%;
    margin-top: 15px; /* Adds space below the heading */
    flex-wrap: wrap; 
}

.stat-box {
    background: #1a1a1a;
    padding: 8px 15px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
    border: 1px solid #333;
}

.stat-box.highlight {
    border: 1px solid #00ff88; /* Highlight the balance */
    background: #0d2118;
}

.label {
    font-size: 10px;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.value {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
}

.text-green { color: #00ff88; }
.text-red { color: #ff4d4d; }

/* Mobile optimization: make stats stack nicely */
@media (max-width: 480px) {
    .earnings-dashboard {
        gap: 8px;
    }
    .stat-box {
        padding: 5px 10px;
        min-width: 80px;
    }
    .value {
        font-size: 14px;
    }
}
header {
    position: -webkit-sticky; /* For Safari support */
    position: sticky;
    top: 0;
    z-index: 1000; /* Keeps the heading above the profile cards */
    background-color: #000000; /* Match your dark mode background */
    padding: 15px 0;
    border-bottom: 2px solid #39FF14; /* Optional: Neon green line for a sharp look */
    text-align: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    color: var(--neon-green);
}

.brand h1 {
    font-size: 1.2rem;
    font-weight: 800;
}

.brand h1 span {
    color: var(--neon-cyan);
}

.status-pill {
    background: rgba(57, 255, 20, 0.1);
    color: var(--neon-green);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dot {
    width: 8px;
    height: 8px;
    background: var(--neon-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-green);
}

.chat-container {
    max-width: 600px;
    margin: 0 auto;
}

.intro {
    margin-bottom: 30px;
}

.intro h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.intro p {
    color: var(--text-dim);
}

.user-card {
    background: var(--card);
    border: 1px solid #222;
    padding: 20px;
    border-radius: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    transition: 0.3s;
}

.user-card:hover {
    border-color: var(--neon-cyan);
    transform: translateX(5px);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar {
    width: 45px;
    height: 45px;
    background: #222;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--neon-cyan);
    border: 1px solid #333;
}

.details h3 {
    font-size: 1.1rem;
}

.details p {
    font-size: 0.85rem;
    color: var(--text-dim);
}

.details p span {
    color: white;
}

.chat-btn {
    background: var(--neon-cyan);
    color: black;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: 0.3s;
}

.chat-btn:hover {
    background: var(--neon-green);
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.4);
}
/* Grid Layout */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

/* Square Profile Card */
.profile-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: 0.3s;
    text-align: center;
}

.profile-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-cyan);
}

.profile-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* Makes it a perfect square */
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This makes sure photos aren't squished */
    display: block;
}

.status-indicator {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 12px;
    height: 12px;
    background: var(--neon-green);
    border: 2px solid var(--bg-deep);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-green);
}

.profile-details {
    padding: 15px;
}

.profile-details h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.meta {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 15px;
}

.btn-chat {
    display: block;
    background: var(--neon-cyan);
    color: black;
    text-decoration: none;
    padding: 10px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 0.85rem;
    transition: 0.3s;
}

.btn-chat:hover {
    background: var(--neon-green);
}

/* Pagination Styling */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #333;
    border-radius: 10px;
    text-decoration: none;
    color: white;
}

.page-link.active {
    background: var(--neon-cyan);
    color: black;
    border-color: var(--neon-cyan);
}

/* Container for the floating button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366; /* WhatsApp Green */
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-family: Arial, sans-serif;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000; /* Keeps it above all other elements */
    transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Style for the WhatsApp icon */
.whatsapp-float img {
    width: 25px;
    height: 25px;
}

/* Hover effect to make it feel interactive */
.whatsapp-float:hover {
    background-color: #128c7e; /* Darker green on hover */
    transform: translateY(-5px); /* Gentle lift effect */
    color: white;
}

/* Mobile responsive check: Make it slightly smaller on small screens */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .whatsapp-float span {
        display: none; /* Optional: Hide the word "WHATSAPP" on mobile to save space */
    }
}
.footer {
    text-align: center;
    margin-top: 50px;
    color: #444;
    font-size: 0.75rem;
    letter-spacing: 1px;
}