body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
}

header {
    margin: 15px;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    background: #404040;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

header .profile {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f2f2f2;
}


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


header nav {
    display: flex;
    gap: 10px;
}

header nav * {
    color: #f2f2f2;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

header nav > *:hover {
    color: #9ec5ff;
    text-decoration: none;
}



.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 8px;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    margin-top: 0;
    background: #2f2f2f;
    min-width: 170px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    z-index: 2;
    padding: 6px;
}

.dropdown-content a {
    display: block;
    padding: 8px 12px;
    color: #f2f2f2;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.dropdown-content a:hover {
    background: #505050;
}


.dropdown:hover .dropdown-content {
    display: block;
    border-radius:10px;
}
