:root {
            --primary-bg: #0f172a;
            --secondary-bg: #1e293b;
            --accent-blue: #3b82f6;
            --text-primary: #f8fafc;
            --text-secondary: #94a3b8;
            --border-color: #334155;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            background-color: var(--primary-bg);
            color: var(--text-primary);
            font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
            line-height: 1.6;
        }




button {
    background-color:#000000;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 12x;
}


.avatar-container button {
    margin-top: 1rem;
    width: 100%;
    max-width: 200px;
}

.theme-card button[onclick="resetColors()"] {
    background-color: #475569;
    margin-top: 1rem;
}

.theme-card button[onclick="resetColors()"]:hover {
    background-color: #334155;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem;
    background: var(--secondary-bg);
    border-top: 1px solid var(--border-color);
}

.main-content {
    padding-bottom: 100px; 
    
}

@media (max-width: 768px) {
    footer {
        position: static;
    }
    .main-content {
        padding-bottom: 1rem;
        
    }
}


        header {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 1rem 2rem;
            background-color: var(--secondary-bg);
            border-bottom: 1px solid var(--border-color);
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
        }

       
.fa-classic, .fa-regular, .fa-solid, .far, .fas {
    font-family: "Font Awesome 6 Free";
    color:  #003eff;
}
.menu-item {
    text-decoration: none;
    color: inherit;
}

.menu-item:hover {
    text-decoration: none;
    color: inherit;
}
.logo {
    font-size: 17px;
    font-weight: bold;
    flex: 1; 
}

 .menu-toggle {
         position: fixed;
            left: 1rem;
            top: 1rem;
            background: var(--secondary-bg);
            border: none;
            color: var(--text-primary);
            padding: 0.5rem 1rem;
            border-radius: 0.5rem;
            cursor: pointer;
            z-index: 1001;
            display: flex;
            align-items: center;
            justify-content: center;
        }

 .sidebar {
            width: 240px;
            height: 100vh;
            position: fixed;
            left: -260px;
            top: 0;
            background: var(--primary-bg);
            border-right: 1px solid var(--border-color);
            transition: 0.3s;
            z-index: 1000;
            overflow-y: auto;
            padding-top: 80px;
        }

 .sidebar.active {
            left: 0;
        }

        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(10px);
            z-index: 999;
            display: none;
            transition: 0.3s;
        }

        .sidebar.active ~ .overlay {
            display: block;
        }
 .sidebar-header {
            padding: 1rem;

            position: sticky;
            top: 0;
            background: var(--primary-bg);
            z-index: 1;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
        }

 .sidebar-header img {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
        }

 .sidebar-menu {
            padding: 0.5rem;
        }

 .menu-item {
            padding: 0.75rem;
            margin: 0.25rem 0;
            border-radius: 0.5rem;
            cursor: pointer;
            transition: 0.2s;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

 .menu-item:hover {
            background: var(--secondary-bg);
        }

 .menu-item i {
            font-size: 1.2rem;
        }

        .main-content {
            padding: 1rem;
            margin-top: 80px;
            transition: 0.3s;
        }

        .dashboard-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.5rem;
        }

        .card {
            background: var(--secondary-bg);
            padding: 1.5rem;
            border-radius: 0.5rem;
            border: 1px solid var(--border-color);
        }

        #profile-avatar {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            object-fit: cover;
            margin: 1rem 0;
            border: 3px solid var(--accent-blue);
        }

        .color-option {
            margin: 1rem 0;
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        #activity-list {
            list-style: none;
            padding: 0;
            max-height: 150px;
            overflow-y: auto;
        }

        footer {
    margin-top: auto;
    text-align: center;
    padding: 0rem;
    background: var(--secondary-bg);
    border-top: 1px solid var(--border-color);
}
        footer p {
            color: var(--text-secondary);
        }



        @media (max-width: 768px) {
            .sidebar {
                width: 70%;
                left: -70%;
            }
            .overlay {
                backdrop-filter: blur(3px);
            }
        }

        @media (max-width: 768px) {
            .sidebar {
                width: 70%; 
                left: -70%;
            }

            .sidebar-header {
                padding: 0.75rem;
            }

            .menu-item {
                padding: 0.5rem;
                font-size: 0.9rem;
            }

            .menu-item i {
                font-size: 1rem;
            }
    
    .overlay {
                backdrop-filter: blur(3px);
            }
            
            .sidebar.active {
                left: 0;
                box-shadow: 4px 0 15px rgba(0, 0, 0, 0.2);
            }
        }

        .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    z-index: 1002;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: var(--secondary-bg);
    padding: 2rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.modal-content .close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

.whatsapp-link {
    display: inline-block;
    margin: 1rem 0;
    padding: 0.5rem 1rem;
    background: #25d366;
    color: white;
    border-radius: 0.5rem;
    text-decoration: none;
}

.star-rating {
    margin: 1rem 0;
}

.star {
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.star:hover,
.star.active {
    color: #ffcc00;
}

#rating-feedback {
    margin-top: 1rem;
    color: var(--text-primary);
}

.code-editor {
    margin-top: 1rem;
    background: var(--primary-bg);
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
}

#code-input {
    width: 100%;
    height: 200px;
    background: var(--primary-bg);
    border: none;
    color: var(--text-primary);
    font-family: 'Courier New', monospace;
    padding: 1rem;
    resize: vertical;
    border-radius: 0 0 0.5rem 0.5rem;
}

.editor-toolbar {
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem;
    background: var(--secondary-bg);
    border-radius: 0.5rem 0.5rem 0 0;
}

.editor-toolbar button {
    background: var(--accent-blue);
    padding: 0.25rem 0.75rem;
    font-size: 0.9rem;
}

.editor-toolbar button:hover {
    background: #2563eb;
}

.wave-container {
    position: relative;
    height: 30px;
    overflow: hidden;
    margin-top: 1rem;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: rgba(59, 130, 246, 0.15);
    border-radius: 50%;
    animation: waveAnimation 4s linear infinite;
    transform: translateX(-25%) rotate(0deg);
}

@keyframes waveAnimation {
    0% {
        transform: scale(0.2) translateZ(0);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.5) translateZ(50px);
        opacity: 1;
    }
    100% {
        transform: scale(0.2) translateZ(0);
        opacity: 0;
    }
}

