/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fff;
    color: #222;
    line-height: 1.6;
}

a {
    color: #1db954; /* Changed link color to green */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #f8f8f8;
    border-bottom: 1px solid #ddd;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }

    nav ul {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    nav.user-nav {
        margin-top: 0.5rem;
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }
}

@media (max-width: 480px) {
    header {
        padding: 0.5rem 1rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .logo {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    nav ul {
        gap: 0.3rem;
        flex-direction: column;
        width: 100%;
    }

    nav.user-nav {
        justify-content: flex-start;
        gap: 0.3rem;
        width: 100%;
        margin-top: 0.5rem;
    }
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #1db954;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

nav ul li a {
    font-weight: 600;
    font-size: 1rem;
    color: #222;
}

/* Dark Mode Styles */
body.dark-mode {
    background-color: #121212;
    color: #eee;
}

body.dark-mode a {
    color: #1ed760;
}

body.dark-mode a:hover {
    text-decoration: underline;
}

/* Other styles remain unchanged */
