/* Navbar Styling */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* background-color: #222;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); */
    padding: 15px 30px;
    
}

/* Left Section (Login/Profile) */
.nav-left {
    display: flex;
    align-items: center;
}

.auth-button {
    background-color: #7289DA;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
}

.auth-button:hover {
    background-color: #5b6eae;
}

/* Center Section (Navigation Links) */
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 12px;
    border-radius: 5px;
    transition: 0.3s;
}

.nav-links a:hover {
    background-color: #444;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        text-align: center;
    }

    .nav-links {
        flex-direction: column;
        margin-top: 10px;
    }
}

/* Profile Picture */
.profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid white;
    transition: 0.3s;
}

.profile-pic:hover {
    opacity: 0.8;
}

/* Dropdown Menu */
.profile-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #222;
    color: white;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    min-width: 150px;
    text-align: center;
    z-index: 1000;
}

.dropdown-menu p {
    margin: 0;
    font-size: 14px;
    font-weight: bold;
}

.dropdown-menu button {
    background-color: red;
    border: none;
    color: white;
    padding: 8px;
    width: 100%;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 5px;
}

.dropdown-menu button:hover {
    background-color: darkred;
}

/* Show dropdown when clicked */
.show {
    display: block;
}
